aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/lpr.el7
1 files changed, 2 insertions, 5 deletions
diff --git a/lisp/lpr.el b/lisp/lpr.el
index 4af86a1e742..7f5ff8d1542 100644
--- a/lisp/lpr.el
+++ b/lisp/lpr.el
@@ -38,15 +38,12 @@
38 38
39;;;###autoload 39;;;###autoload
40(defvar lpr-command 40(defvar lpr-command
41 (if (and (memq system-type '(usg-unix-v dgux hpux irix)) 41 (if (memq system-type '(usg-unix-v dgux hpux irix))
42 (not (string-match "^[^-]*-[^-]*-solaris" system-configuration)))
43 "lp" "lpr") 42 "lp" "lpr")
44 "*Shell command for printing a file") 43 "*Shell command for printing a file")
45 44
46(defvar lpr-headers-switches 45(defvar lpr-headers-switches
47 (if (and (memq system-type '(usg-unix-v hpux)) 46 (if (memq system-type '(usg-unix-v hpux)) nil "-p")
48 (not (string-match "^[^-]*-[^-]*-solaris" system-configuration)))
49 nil "-p")
50 "*List of strings to use as options for `lpr' to request page headings.") 47 "*List of strings to use as options for `lpr' to request page headings.")
51 48
52(defvar print-region-function nil 49(defvar print-region-function nil