# HG changeset patch # User Gerd Moellmann # Date 962914125 0 # Node ID 178c89d24a0dfdb440f2fc56679604e22e2e51a3 # Parent 020fc2e83129f32f71127937092e08ffc622d482 (lpr-page-header-switches): Add `-h' switch. (print-region-1): Don't hard code `-h' here. diff -r 020fc2e83129 -r 178c89d24a0d lisp/lpr.el --- a/lisp/lpr.el Thu Jul 06 20:08:28 2000 +0000 +++ b/lisp/lpr.el Thu Jul 06 20:08:45 2000 +0000 @@ -115,7 +115,7 @@ ;; 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 @@ (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))