summaryrefslogtreecommitdiff
path: root/lisp/printing.el
diff options
context:
space:
mode:
authorStefan Kangas <stefan@marxist.se>2022-08-11 17:10:52 +0200
committerStefan Kangas <stefan@marxist.se>2022-08-11 17:20:06 +0200
commit687897203846c5a8aca4ffa1a76834d20e1fcc3b (patch)
tree9b312b1063fb24a72f983469c2a9d9b7bb90ecb8 /lisp/printing.el
parentd5c3b602b93cb4ae3045117d41b9a084951f726a (diff)
downloademacs-687897203846c5a8aca4ffa1a76834d20e1fcc3b.tar.gz
Make ps-print-version variable obsolete
* lisp/ps-print.el (ps-print-version): Make obsolete. (ps-setup, ps-begin-file): * lisp/progmodes/ebnf2ps.el: * lisp/printing.el: (pr-help-message, pr-interface-help-message) (pr-create-interface): Don't use above obsolete variable.
Diffstat (limited to 'lisp/printing.el')
-rw-r--r--lisp/printing.el16
1 files changed, 4 insertions, 12 deletions
diff --git a/lisp/printing.el b/lisp/printing.el
index 3e3baa301af..9f6b0910238 100644
--- a/lisp/printing.el
+++ b/lisp/printing.el
@@ -1008,10 +1008,6 @@
(require 'lpr)
(require 'ps-print)
-(and (string< ps-print-version "6.6.4")
- (error "`printing' requires `ps-print' package version 6.6.4 or later"))
-
-
(defconst pr-cygwin-system
(and lpr-windows-system (getenv "OSTYPE")
(string-match "cygwin" (getenv "OSTYPE"))))
@@ -3000,8 +2996,7 @@ Calls `pr-update-menus' to adjust menus."
(defconst pr-help-message
- (concat "ps-print.el version " ps-print-version
- "\n\n
+ "\
Menu Layout
-----------
@@ -3207,13 +3202,12 @@ VI. Customization:
23. Show current settings for `printing', `ps-print' or `lpr'.
24. Quick help for printing menu layout.
-")
+"
"Printing help message.")
(defconst pr-interface-help-message
- (concat " ps-print.el version " ps-print-version
- "\n\n
+ "\
The printing interface buffer has the same functionality as the printing menu.
The major difference is that the states (like sending PostScript generated to a
file, n-up printing, etc.) are set and saved between printing buffer
@@ -3440,7 +3434,7 @@ The printing interface buffer has the following sections:
Quick help for printing interface buffer and printing menu layout. You can
also quit the printing interface buffer or kill all printing help buffer.
-")
+"
"Printing buffer interface help message.")
@@ -5587,8 +5581,6 @@ COMMAND.exe, COMMAND.bat and COMMAND.com in this order."
(switch-to-buffer (get-buffer-create pr-buffer-name))
;; header
- (let ((versions (concat "ps-print v" ps-print-version)))
- (widget-insert (make-string (- 79 (length versions)) ?\ ) versions))
(pr-insert-italic "\nCurrent Directory : " 1)
(pr-insert-italic default-directory)