comparison lisp/lpr.el @ 81461:e9cd7fd7a63b

(lpr-page-header-switches): Move %s to separate element for correct quoting. Doc fix.
author Glenn Morris <rgm@gnu.org>
date Sun, 17 Jun 2007 22:19:03 +0000
parents e3694f1cb928
children 9355f9b7bbff 988f1edc9674
comparison
equal deleted inserted replaced
81460:f1d443bcf169 81461:e9cd7fd7a63b
138 :type 'string 138 :type 'string
139 :group 'lpr) 139 :group 'lpr)
140 140
141 ;; Berkeley systems support -F, and GNU pr supports both -f and -F, 141 ;; Berkeley systems support -F, and GNU pr supports both -f and -F,
142 ;; So it looks like -F is a better default. 142 ;; So it looks like -F is a better default.
143 (defcustom lpr-page-header-switches '("-h %s" "-F") 143 (defcustom lpr-page-header-switches '("-h" "%s" "-F")
144 "*List of strings to use as options for the page-header-generating program. 144 "*List of strings to use as options for the page-header-generating program.
145 If `%s' appears in one of the strings, it is substituted by the page title. 145 If `%s' appears in any of the strings, it is substituted by the page title.
146 Note that for correct quoting, `%s' should normally be a separate element.
146 The variable `lpr-page-header-program' specifies the program to use." 147 The variable `lpr-page-header-program' specifies the program to use."
147 :type '(repeat string) 148 :type '(repeat string)
148 :group 'lpr) 149 :group 'lpr)
149 150
150 ;;;###autoload 151 ;;;###autoload