commit bccd955428aa9c26d9da867268f8a3bb2bc1e091
parent 49a5b4f965d7b9cb1b8038424c7474b70bc1a525
Author: Tomas Hlavaty <tom@logand.com>
Date: Fri, 29 Mar 2024 12:25:24 +0100
use default pdf-end-regexp for local variables
Diffstat:
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/emacs-pdf.el b/emacs-pdf.el
@@ -91,14 +91,16 @@ Useful functions:
string symbol))
:group 'pdf)
-(defcustom pdf-end-regexp nil
+(defcustom pdf-end-regexp "^Local Variables:"
"Specify regexp which ends the printable part of the file.
As an example, it may be set to \"^Local Variables:\", in order to leave out
some special printing instructions from the actual print. Special printing
instructions may be appended to the end of the file just like any other
buffer-local variables. See section \"Local Variables in Files\" on Emacs
-manual for more information.
+manual for more information:
+
+ (info \"(emacs) File Variables\")
It controls what actually gets printed and may be set to nil in which case
the end of the file ends the printable region."