bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#19717: 24.4.50; printing.el still uses ps-eval-switch


From: Kaushal Modi
Subject: bug#19717: 24.4.50; printing.el still uses ps-eval-switch
Date: Thu, 12 May 2016 01:42:05 +0000

On Wed, May 11, 2016 at 8:56 PM Stefan Monnier <address@hidden> wrote:
Fine by me, tho I'd recommend #' rather than '

Sure, here's the updated patch with #' after rebasing to emacs-25 branch. Thanks!

From 495655b3be76023299d5f9b623f5961314be3244 Mon Sep 17 00:00:00 2001
From: Kaushal Modi <address@hidden>
Date: Wed, 11 May 2016 21:37:43 -0400
Subject: [PATCH] Fix reference to obsolete fn ps-eval-switch

The `lpr-eval-switch' is functionally the same as `ps-eval-switch' which
was obsoleted in 2cdeb903c57126d3ad5f0cbd72e182584b76ee29.  So using
that instead (Bug#19717).

* 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 @@ pr-switches
   (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)
-- 
2.6.0.rc0.24.gec371ff

--

--
Kaushal Modi


reply via email to

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