emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs-25 920d76c: Fix reference to obsolete fn ps-eval-swi


From: Paul Eggert
Subject: [Emacs-diffs] emacs-25 920d76c: Fix reference to obsolete fn ps-eval-switch
Date: Mon, 23 May 2016 00:48:58 +0000 (UTC)

branch: emacs-25
commit 920d76c2084f0621dec8664840dd3fb2e9b34891
Author: Kaushal Modi <address@hidden>
Commit: Paul Eggert <address@hidden>

    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.
---
 lisp/printing.el |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/printing.el b/lisp/printing.el
index 3bd5a67..d9cc2a3 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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]