From: Kaushal Modi Date: Mon, 23 May 2016 00:48:33 +0000 (-0700) Subject: Fix reference to obsolete fn ps-eval-switch X-Git-Tag: emacs-25.0.95~58 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=920d76c;p=emacs.git Fix reference to obsolete fn ps-eval-switch lpr-eval-switch is functionally the same as ps-eval-switch, which was obsoleted in 2cdeb903c57126d3ad5f0cbd72e182584b76ee29. So use that instead (Bug#19717). * lisp/printing.el (pr-switches): Use lpr-eval-switch instead of ps-eval-switch. --- diff --git a/lisp/printing.el b/lisp/printing.el index 3bd5a67298d..d9cc2a3614a 100644 --- a/lisp/printing.el +++ b/lisp/printing.el @@ -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)