diff options
author | Gerd Moellmann <gerd@gnu.org> | 2000-07-06 20:08:45 +0000 |
---|---|---|
committer | Gerd Moellmann <gerd@gnu.org> | 2000-07-06 20:08:45 +0000 |
commit | 53e7c664c81818ae900a894c4444d7d2cfdf1d39 (patch) | |
tree | dac508729a6a20543d4114a4779dbb5d7288d2cf /lisp/lpr.el | |
parent | c70d73590c549cee68d90c761e23941756a2839e (diff) | |
download | emacs-53e7c664c81818ae900a894c4444d7d2cfdf1d39.tar.gz |
(lpr-page-header-switches): Add `-h' switch.
(print-region-1): Don't hard code `-h' here.
Diffstat (limited to 'lisp/lpr.el')
-rw-r--r-- | lisp/lpr.el | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lisp/lpr.el b/lisp/lpr.el index 7eb76613719..21a1ed24f81 100644 --- a/lisp/lpr.el +++ b/lisp/lpr.el @@ -115,7 +115,7 @@ 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 '("-F") +(defcustom lpr-page-header-switches '("-h" "-F") "*List of strings to use as options for the page-header-generating program. The variable `lpr-page-header-program' specifies the program to use." :type '(repeat string) @@ -216,8 +216,7 @@ for further customization of the printer command." (setq start (car new-coords) end (cdr new-coords))) (apply 'call-process-region start end lpr-page-header-program t t nil - (nconc (list "-h" title) - lpr-page-header-switches)) + lpr-page-header-switches) (setq start (point-min) end (point-max)))) (let ((printer-name-switch (if (memq system-type '(usg-unix-v dgux hpux irix)) |