1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-23 10:34:07 +00:00

Fix reference to obsolete fn ps-eval-switch

lpr-eval-switch is functionally the same as ps-eval-switch,
which was obsoleted in 2cdeb903c5.
So use that instead (Bug#19717).
* lisp/printing.el (pr-switches): Use lpr-eval-switch instead of
ps-eval-switch.
This commit is contained in:
Kaushal Modi 2016-05-22 17:48:33 -07:00 committed by Paul Eggert
parent 18a9bc1152
commit 920d76c208

View File

@ -5673,7 +5673,7 @@ If menu binding was not done, calls `pr-menu-bind'."
(or (listp switches)
(error "%S should have a list of strings" mess))
(lpr-flatten-list ; dynamic evaluation
(mapcar 'ps-eval-switch switches)))
(mapcar #'lpr-eval-switch switches)))
(defun pr-ps-preview (kind n-up filename mess)