Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
e831604d
Commit
e831604d
authored
Jan 02, 2014
by
Richard M. Stallman
Browse files
dired-do-print handles printer-name
* dired-aux.el (dired-do-print): Handle printer-name.
parent
a574edbe
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
lisp/ChangeLog
lisp/ChangeLog
+2
-0
lisp/dired-aux.el
lisp/dired-aux.el
+6
-0
No files found.
lisp/ChangeLog
View file @
e831604d
2014-01-02 Richard Stallman <rms@gnu.org>
* dired-aux.el (dired-do-print): Handle printer-name.
* mail/rmailmm.el (rmail-mime-message-p): Moved to rmail.el.
* mail/rmail.el (rmail-mime-message-p): Moved from rmailmm.el.
(rmail-epa-decrypt): Turn off mime processing.
...
...
lisp/dired-aux.el
View file @
e831604d
...
...
@@ -415,6 +415,12 @@ Uses the shell command coming from variables `lpr-command' and
`lpr-switches' as default."
(
interactive
"P"
)
(
let*
((
file-list
(
dired-get-marked-files
t
arg
))
(
lpr-switches
(
if
(
and
(
stringp
printer-name
)
(
string<
""
printer-name
))
(
cons
(
concat
lpr-printer-switch
printer-name
)
lpr-switches
)
lpr-switches
))
(
command
(
dired-mark-read-string
"Print %s with: "
(
mapconcat
'identity
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment