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
b41f6027
Commit
b41f6027
authored
Dec 31, 1993
by
Richard M. Stallman
Browse files
(print-region-1): If lpr-headers-switches is string,
turn it into a list before appending.
parent
62bcf009
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
lisp/lpr.el
lisp/lpr.el
+4
-1
No files found.
lisp/lpr.el
View file @
b41f6027
...
...
@@ -93,7 +93,10 @@ See definition of `print-region-1' for calling conventions.")
(
if
page-headers
(
if
lpr-headers-switches
;; On BSD, use an option to get page headers.
(
setq
switches
(
append
lpr-headers-switches
switches
))
(
setq
switches
(
append
(
if
(
stringp
lpr-headers-switches
)
(
list
lpr-headers-switches
)
lpr-headers-switches
)
switches
))
(
print-region-new-buffer
start
end
)
(
call-process-region
start
end
"pr"
t
t
nil
)
(
setq
start
(
point-min
)
end
(
point-max
))))
...
...
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