diff options
| author | Glenn Morris | 2007-06-17 22:19:03 +0000 |
|---|---|---|
| committer | Glenn Morris | 2007-06-17 22:19:03 +0000 |
| commit | 92335d2a4a5c7fefb8a2f1214b1164cd9e9b7acc (patch) | |
| tree | 37e3b097c547ad3ddaf5544a3aa57c74ae44123d | |
| parent | 446ac170c400f3748e5a909a52f8eef90533aae0 (diff) | |
| download | emacs-92335d2a4a5c7fefb8a2f1214b1164cd9e9b7acc.tar.gz emacs-92335d2a4a5c7fefb8a2f1214b1164cd9e9b7acc.zip | |
(lpr-page-header-switches): Move %s to separate element for correct
quoting. Doc fix.
| -rw-r--r-- | lisp/lpr.el | 5 |
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." | |||
| 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) |