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
02fc973b
Commit
02fc973b
authored
Nov 05, 2013
by
Stefan Monnier
Browse files
* lisp/mh-e/mh-print.el (mh-ps-print-preprint): Don't use dynamic-var
`prefix-arg' as function argument.
parent
2e670b95
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
+8
-3
lisp/mh-e/ChangeLog
lisp/mh-e/ChangeLog
+5
-0
lisp/mh-e/mh-print.el
lisp/mh-e/mh-print.el
+3
-3
No files found.
lisp/mh-e/ChangeLog
View file @
02fc973b
2013
-
11
-
05
Stefan
Monnier
<
monnier
@
iro
.
umontreal
.
ca
>
*
mh
-
print
.
el
(
mh
-
ps
-
print
-
preprint
):
Don
't use dynamic-var
`prefix-arg'
as
function
argument
.
2013
-
06
-
18
Juri
Linkov
<
juri
@
jurta
.
org
>
*
mh
-
alias
.
el
(
mh
-
alias
-
local
-
users
):
Add
non
-
nil
arg
REPLACE
to
...
...
lisp/mh-e/mh-print.el
View file @
02fc973b
...
...
@@ -139,11 +139,11 @@ commands \\[mh-ps-print-toggle-color] and
(
interactive
(
list
(
mh-interactive-range
"Print"
)
(
mh-ps-print-preprint
1
)))
(
mh-ps-print-range
range
file
))
(
defun
mh-ps-print-preprint
(
prefix-
arg
)
(
defun
mh-ps-print-preprint
(
arg
)
"Provide a better default file name for `ps-print-preprint'.
Pass along the
PREFIX-
ARG to it."
Pass along the
prefix
ARG to it."
(
let
((
buffer-file-name
(
format
"mh-%s"
(
substring
(
buffer-name
)
1
))))
(
ps-print-preprint
prefix-
arg
)))
(
ps-print-preprint
arg
)))
;;;###mh-autoload
(
defun
mh-ps-print-toggle-faces
()
...
...
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