]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix reference to obsolete fn ps-eval-switch
authorKaushal Modi <kaushal.modi@gmail.com>
Mon, 23 May 2016 00:48:33 +0000 (17:48 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 23 May 2016 00:48:55 +0000 (17:48 -0700)
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.

lisp/printing.el

index 3bd5a67298d08ef2c1549fc9200012e0c7b0495c..d9cc2a3614a8cda2660273be1d54ff3d0524526d 100644 (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)