diff options
| author | Richard M. Stallman | 1999-12-28 03:36:21 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1999-12-28 03:36:21 +0000 |
| commit | d7e110e4797e806140946802e26a4cd20c900cb5 (patch) | |
| tree | 0df9eeab1cdc8be6964a1e6947e6798217ebabf3 | |
| parent | dbd2182a1c865a61137b171ed9434bfeb585476d (diff) | |
| download | emacs-d7e110e4797e806140946802e26a4cd20c900cb5.tar.gz emacs-d7e110e4797e806140946802e26a4cd20c900cb5.zip | |
(lpr-buffer, print-buffer, lpr-region, print-region): Doc fixes.
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/lpr.el | 39 |
2 files changed, 33 insertions, 11 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index b88584bb467..848346086ef 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 1999-12-27 Richard M. Stallman <rms@caffeine.ai.mit.edu> | ||
| 2 | |||
| 3 | * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region): | ||
| 4 | Doc fixes. | ||
| 5 | |||
| 1 | 1999-12-27 Gerd Moellmann <gerd@gnu.org> | 6 | 1999-12-27 Gerd Moellmann <gerd@gnu.org> |
| 2 | 7 | ||
| 3 | * add-log.el (change-log-version-number-regexp-list) | 8 | * add-log.el (change-log-version-number-regexp-list) |
diff --git a/lisp/lpr.el b/lisp/lpr.el index 0ed7a1c418b..a6fe0459e73 100644 --- a/lisp/lpr.el +++ b/lisp/lpr.el | |||
| @@ -123,34 +123,51 @@ The variable `lpr-page-header-program' specifies the program to use." | |||
| 123 | 123 | ||
| 124 | ;;;###autoload | 124 | ;;;###autoload |
| 125 | (defun lpr-buffer () | 125 | (defun lpr-buffer () |
| 126 | "Print buffer contents as with Unix command `lpr'. | 126 | "Print buffer contents without pagination or page headers. |
| 127 | `lpr-switches' is a list of extra switches (strings) to pass to lpr." | 127 | See the variables `lpr-switches' and `lpr-command' |
| 128 | for customization of the printer command." | ||
| 128 | (interactive) | 129 | (interactive) |
| 129 | (print-region-1 (point-min) (point-max) lpr-switches nil)) | 130 | (print-region-1 (point-min) (point-max) lpr-switches nil)) |
| 130 | 131 | ||
| 131 | ;;;###autoload | 132 | ;;;###autoload |
| 132 | (defun print-buffer () | 133 | (defun print-buffer () |
| 133 | "Paginate and print buffer contents. | 134 | "Paginate and print buffer contents. |
| 134 | Normally invokes `pr' for pagination, but see the variable | ||
| 135 | `lpr-page-header-program'. Printing is normally done with `lpr' | ||
| 136 | or `lp'; the variable `lpr-command' changes this. | ||
| 137 | 135 | ||
| 138 | Also see the variables `lpr-switches' and `lpr-page-header-switches' | 136 | The variable `lpr-headers-switches' controls how to paginate. |
| 139 | for further customization of the commands used." | 137 | If it is nil (the default), we run the `pr' program (or whatever program |
| 138 | `lpr-page-header-program' specifies) to paginate. | ||
| 139 | `lpr-page-header-switches' specifies the switches for that program. | ||
| 140 | |||
| 141 | Otherwise, the switches in `lpr-headers-switches' are used | ||
| 142 | in the print command itself; we expect them to request pagination. | ||
| 143 | |||
| 144 | See the variables `lpr-switches' and `lpr-command' | ||
| 145 | for further customization of the printer command." | ||
| 140 | (interactive) | 146 | (interactive) |
| 141 | (print-region-1 (point-min) (point-max) lpr-switches t)) | 147 | (print-region-1 (point-min) (point-max) lpr-switches t)) |
| 142 | 148 | ||
| 143 | ;;;###autoload | 149 | ;;;###autoload |
| 144 | (defun lpr-region (start end) | 150 | (defun lpr-region (start end) |
| 145 | "Print region contents as with Unix command `lpr'. | 151 | "Print region contents without pagination or page headers. |
| 146 | `lpr-switches' is a list of extra switches (strings) to pass to lpr." | 152 | See the variables `lpr-switches' and `lpr-command' |
| 153 | for customization of the printer command." | ||
| 147 | (interactive "r") | 154 | (interactive "r") |
| 148 | (print-region-1 start end lpr-switches nil)) | 155 | (print-region-1 start end lpr-switches nil)) |
| 149 | 156 | ||
| 150 | ;;;###autoload | 157 | ;;;###autoload |
| 151 | (defun print-region (start end) | 158 | (defun print-region (start end) |
| 152 | "Print region contents as with Unix command `lpr -p'. | 159 | "Paginate and print the region contents. |
| 153 | `lpr-switches' is a list of extra switches (strings) to pass to lpr." | 160 | |
| 161 | The variable `lpr-headers-switches' controls how to paginate. | ||
| 162 | If it is nil (the default), we run the `pr' program (or whatever program | ||
| 163 | `lpr-page-header-program' specifies) to paginate. | ||
| 164 | `lpr-page-header-switches' specifies the switches for that program. | ||
| 165 | |||
| 166 | Otherwise, the switches in `lpr-headers-switches' are used | ||
| 167 | in the print command itself; we expect them to request pagination. | ||
| 168 | |||
| 169 | See the variables `lpr-switches' and `lpr-command' | ||
| 170 | for further customization of the printer command." | ||
| 154 | (interactive "r") | 171 | (interactive "r") |
| 155 | (print-region-1 start end lpr-switches t)) | 172 | (print-region-1 start end lpr-switches t)) |
| 156 | 173 | ||