1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-18 18:05:07 +00:00

(dired-do-print): Put spaces between lpr switches.

This commit is contained in:
Richard M. Stallman 1994-10-02 08:35:34 +00:00
parent 99ac138a9c
commit 9f803d0d12

View File

@ -164,7 +164,8 @@ Uses the shell command coming from variables `lpr-command' and
(let* ((file-list (dired-get-marked-files t arg))
(command (dired-mark-read-string
"Print %s with: "
(apply 'concat lpr-command " " lpr-switches)
(mapconcat 'concat (append (list lpr-command)
lpr-switches) " ")
'print arg file-list)))
(dired-run-shell-command (dired-shell-stuff-it command file-list nil))))