From: Richard M. Stallman Date: Tue, 27 Feb 2001 19:12:19 +0000 (+0000) Subject: (lpr-add-switches): Default to t on gnu/linux. X-Git-Tag: emacs-pretest-21.0.99~97 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=7298f3f78950af756594c94b11f0b1c769e99f2d;p=emacs.git (lpr-add-switches): Default to t on gnu/linux. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 0d59817a4f8..eb92d13fb39 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -2,7 +2,8 @@ * lpr.el (lpr-page-header-switches, print-region-1): Undo 2000-07-06 change. - + (lpr-add-switches): Default to t on gnu/linux. + 2001-02-27 Gerd Moellmann * bs.el (bs-attributes-list): Doc fix. diff --git a/lisp/lpr.el b/lisp/lpr.el index 3188e96d763..9b24a7352d1 100644 --- a/lisp/lpr.el +++ b/lisp/lpr.el @@ -76,8 +76,8 @@ See `lpr-command'." :type '(repeat (string :tag "Argument")) :group 'lpr) -(defcustom lpr-add-switches (eq system-type 'berkeley-unix) - "*Non-nil means construct -T and -J options for the printer program. +(defcustom lpr-add-switches (memq system-type '(berkeley-unix gnu/linux)) + "*Non-nil means construct `-T' and `-J' options for the printer program. These are made assuming that the program is `lpr'; if you are using some other incompatible printer program, this variable should be nil."