diff options
| author | Richard M. Stallman | 2014-01-02 17:35:00 -0500 |
|---|---|---|
| committer | Richard M. Stallman | 2014-01-02 17:35:00 -0500 |
| commit | e831604df6fa74c1cbe978d63837313c2b8de9ed (patch) | |
| tree | 4c8587d65e97e3fcc455c4416c2665ae0b50e284 | |
| parent | a574edbec9c9de37d04fffcace178e873bd41245 (diff) | |
| download | emacs-e831604df6fa74c1cbe978d63837313c2b8de9ed.tar.gz emacs-e831604df6fa74c1cbe978d63837313c2b8de9ed.zip | |
dired-do-print handles printer-name
* dired-aux.el (dired-do-print): Handle printer-name.
| -rw-r--r-- | lisp/ChangeLog | 2 | ||||
| -rw-r--r-- | lisp/dired-aux.el | 6 |
2 files changed, 8 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index bea33b8dd17..7ec7fc12c3f 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,7 @@ | |||
| 1 | 2014-01-02 Richard Stallman <rms@gnu.org> | 1 | 2014-01-02 Richard Stallman <rms@gnu.org> |
| 2 | 2 | ||
| 3 | * dired-aux.el (dired-do-print): Handle printer-name. | ||
| 4 | |||
| 3 | * mail/rmailmm.el (rmail-mime-message-p): Moved to rmail.el. | 5 | * mail/rmailmm.el (rmail-mime-message-p): Moved to rmail.el. |
| 4 | * mail/rmail.el (rmail-mime-message-p): Moved from rmailmm.el. | 6 | * mail/rmail.el (rmail-mime-message-p): Moved from rmailmm.el. |
| 5 | (rmail-epa-decrypt): Turn off mime processing. | 7 | (rmail-epa-decrypt): Turn off mime processing. |
diff --git a/lisp/dired-aux.el b/lisp/dired-aux.el index 6ed7d9eb374..8f1a4be9d50 100644 --- a/lisp/dired-aux.el +++ b/lisp/dired-aux.el | |||
| @@ -415,6 +415,12 @@ Uses the shell command coming from variables `lpr-command' and | |||
| 415 | `lpr-switches' as default." | 415 | `lpr-switches' as default." |
| 416 | (interactive "P") | 416 | (interactive "P") |
| 417 | (let* ((file-list (dired-get-marked-files t arg)) | 417 | (let* ((file-list (dired-get-marked-files t arg)) |
| 418 | (lpr-switches | ||
| 419 | (if (and (stringp printer-name) | ||
| 420 | (string< "" printer-name)) | ||
| 421 | (cons (concat lpr-printer-switch printer-name) | ||
| 422 | lpr-switches) | ||
| 423 | lpr-switches)) | ||
| 418 | (command (dired-mark-read-string | 424 | (command (dired-mark-read-string |
| 419 | "Print %s with: " | 425 | "Print %s with: " |
| 420 | (mapconcat 'identity | 426 | (mapconcat 'identity |