From 920d76c2084f0621dec8664840dd3fb2e9b34891 Mon Sep 17 00:00:00 2001 From: Kaushal Modi Date: Sun, 22 May 2016 17:48:33 -0700 Subject: [PATCH] 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 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) -- 2.39.2