summaryrefslogtreecommitdiff
path: root/lisp/lpr.el
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2007-06-17 22:19:58 +0000
committerGlenn Morris <rgm@gnu.org>2007-06-17 22:19:58 +0000
commitbe62e9d52d759cb6b352e2b1606dcb9bc9aecbb9 (patch)
tree489ad677188fcecf6b02a1472c6c3b97cebed845 /lisp/lpr.el
parent293bb86c13df740bf45b20a4155d780fe23bfdef (diff)
downloademacs-be62e9d52d759cb6b352e2b1606dcb9bc9aecbb9.tar.gz
(lpr-page-header-switches): Move %s to separate element for correct
quoting. Doc fix.
Diffstat (limited to 'lisp/lpr.el')
-rw-r--r--lisp/lpr.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/lpr.el b/lisp/lpr.el
index c4eec3fa62b..9775abc74f9 100644
--- a/lisp/lpr.el
+++ b/lisp/lpr.el
@@ -140,9 +140,10 @@ See definition of `print-region-1' for calling conventions."
;; Berkeley systems support -F, and GNU pr supports both -f and -F,
;; So it looks like -F is a better default.
-(defcustom lpr-page-header-switches '("-h %s" "-F")
+(defcustom lpr-page-header-switches '("-h" "%s" "-F")
"*List of strings to use as options for the page-header-generating program.
-If `%s' appears in one of the strings, it is substituted by the page title.
+If `%s' appears in any of the strings, it is substituted by the page title.
+Note that for correct quoting, `%s' should normally be a separate element.
The variable `lpr-page-header-program' specifies the program to use."
:type '(repeat string)
:group 'lpr)