aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/ps-print.el12
1 files changed, 5 insertions, 7 deletions
diff --git a/lisp/ps-print.el b/lisp/ps-print.el
index d4bceb886b0..7a5e3e2b3f1 100644
--- a/lisp/ps-print.el
+++ b/lisp/ps-print.el
@@ -1616,8 +1616,7 @@ in that file instead of sending it to the printer.
1616 1616
1617Noninteractively, the argument FILENAME is treated as follows: if it 1617Noninteractively, the argument FILENAME is treated as follows: if it
1618is nil, send the image to the printer. If FILENAME is a string, save 1618is nil, send the image to the printer. If FILENAME is a string, save
1619the PostScript image in a file with that name. If FILENAME is a 1619the PostScript image in a file with that name."
1620number, prompt the user for the name of the file to save in."
1621 (interactive (list (ps-print-preprint current-prefix-arg))) 1620 (interactive (list (ps-print-preprint current-prefix-arg)))
1622 (ps-print-without-faces (point-min) (point-max) filename)) 1621 (ps-print-without-faces (point-min) (point-max) filename))
1623 1622
@@ -1698,14 +1697,13 @@ Use the command `ps-despool' to send the spooled images to the printer."
1698(defun ps-despool (&optional filename) 1697(defun ps-despool (&optional filename)
1699 "Send the spooled PostScript to the printer. 1698 "Send the spooled PostScript to the printer.
1700 1699
1701When called with a numeric prefix argument (C-u), prompt the user for 1700Interactively, when you use a prefix argument (C-u), the command
1702the name of a file to save the spooled PostScript in, instead of sending 1701prompts the user for a file name, and saves the spooled PostScript
1703it to the printer. 1702image in that file instead of sending it to the printer.
1704 1703
1705More specifically, the FILENAME argument is treated as follows: if it 1704More specifically, the FILENAME argument is treated as follows: if it
1706is nil, send the image to the printer. If FILENAME is a string, save 1705is nil, send the image to the printer. If FILENAME is a string, save
1707the PostScript image in a file with that name. If FILENAME is a 1706the PostScript image in a file with that name."
1708number, prompt the user for the name of the file to save in."
1709 (interactive (list (ps-print-preprint current-prefix-arg))) 1707 (interactive (list (ps-print-preprint current-prefix-arg)))
1710 (ps-do-despool filename)) 1708 (ps-do-despool filename))
1711 1709