diff options
| author | Richard M. Stallman | 1998-10-15 16:07:40 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1998-10-15 16:07:40 +0000 |
| commit | 79080fa086c5643c26ba0b9ff75dc09f0f03c51b (patch) | |
| tree | 3cc828525c05e8a5a7257203dda904858aaae6fd | |
| parent | 0d0587b9a2570da750fdff59ddaddee4560519ec (diff) | |
| download | emacs-79080fa086c5643c26ba0b9ff75dc09f0f03c51b.tar.gz emacs-79080fa086c5643c26ba0b9ff75dc09f0f03c51b.zip | |
(ps-print-buffer): Doc fix.
(ps-despool): Likewise.
| -rw-r--r-- | lisp/ps-print.el | 12 |
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 | ||
| 1617 | Noninteractively, the argument FILENAME is treated as follows: if it | 1617 | Noninteractively, the argument FILENAME is treated as follows: if it |
| 1618 | is nil, send the image to the printer. If FILENAME is a string, save | 1618 | is nil, send the image to the printer. If FILENAME is a string, save |
| 1619 | the PostScript image in a file with that name. If FILENAME is a | 1619 | the PostScript image in a file with that name." |
| 1620 | number, 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 | ||
| 1701 | When called with a numeric prefix argument (C-u), prompt the user for | 1700 | Interactively, when you use a prefix argument (C-u), the command |
| 1702 | the name of a file to save the spooled PostScript in, instead of sending | 1701 | prompts the user for a file name, and saves the spooled PostScript |
| 1703 | it to the printer. | 1702 | image in that file instead of sending it to the printer. |
| 1704 | 1703 | ||
| 1705 | More specifically, the FILENAME argument is treated as follows: if it | 1704 | More specifically, the FILENAME argument is treated as follows: if it |
| 1706 | is nil, send the image to the printer. If FILENAME is a string, save | 1705 | is nil, send the image to the printer. If FILENAME is a string, save |
| 1707 | the PostScript image in a file with that name. If FILENAME is a | 1706 | the PostScript image in a file with that name." |
| 1708 | number, 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 | ||