diff options
| author | Kaushal Modi | 2016-05-22 17:48:33 -0700 |
|---|---|---|
| committer | Paul Eggert | 2016-05-22 17:48:55 -0700 |
| commit | 920d76c2084f0621dec8664840dd3fb2e9b34891 (patch) | |
| tree | 0a8fadcb061df25f7a8f0993ae5b6763cfa56049 | |
| parent | 18a9bc1152452fecfa09e6f2f3a5d6677a564977 (diff) | |
| download | emacs-920d76c2084f0621dec8664840dd3fb2e9b34891.tar.gz emacs-920d76c2084f0621dec8664840dd3fb2e9b34891.zip | |
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.
| -rw-r--r-- | lisp/printing.el | 2 |
1 files changed, 1 insertions, 1 deletions
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'." | |||
| 5673 | (or (listp switches) | 5673 | (or (listp switches) |
| 5674 | (error "%S should have a list of strings" mess)) | 5674 | (error "%S should have a list of strings" mess)) |
| 5675 | (lpr-flatten-list ; dynamic evaluation | 5675 | (lpr-flatten-list ; dynamic evaluation |
| 5676 | (mapcar 'ps-eval-switch switches))) | 5676 | (mapcar #'lpr-eval-switch switches))) |
| 5677 | 5677 | ||
| 5678 | 5678 | ||
| 5679 | (defun pr-ps-preview (kind n-up filename mess) | 5679 | (defun pr-ps-preview (kind n-up filename mess) |