diff options
| author | John Paul Wallington | 2004-08-01 05:52:30 +0000 |
|---|---|---|
| committer | John Paul Wallington | 2004-08-01 05:52:30 +0000 |
| commit | 747aa4cfc6879ed3e8b7861082572ca104c27380 (patch) | |
| tree | bd4ca26df3d4c950287cc892c299672a721d50e9 | |
| parent | e7fdaf6301d8f81df48720ab25ad21e5d9fb17d1 (diff) | |
| download | emacs-747aa4cfc6879ed3e8b7861082572ca104c27380.tar.gz emacs-747aa4cfc6879ed3e8b7861082572ca104c27380.zip | |
(toplevel, pr-ps-fast-fire, pr-ps-set-utility)
(pr-ps-set-printer, pr-txt-set-printer, pr-eval-setting-alist)
(pr-switches): Remove period from end of error messages.
| -rw-r--r-- | lisp/printing.el | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/lisp/printing.el b/lisp/printing.el index 22a3f762ab6..08303e0595d 100644 --- a/lisp/printing.el +++ b/lisp/printing.el | |||
| @@ -974,7 +974,7 @@ Please send all bug fixes and enhancements to | |||
| 974 | 974 | ||
| 975 | 975 | ||
| 976 | (and (string< ps-print-version "6.6.4") | 976 | (and (string< ps-print-version "6.6.4") |
| 977 | (error "`printing' requires `ps-print' package version 6.6.4 or later.")) | 977 | (error "`printing' requires `ps-print' package version 6.6.4 or later")) |
| 978 | 978 | ||
| 979 | 979 | ||
| 980 | (eval-and-compile | 980 | (eval-and-compile |
| @@ -4254,7 +4254,7 @@ are both set to t." | |||
| 4254 | (pr-ps-buffer-ps-print | 4254 | (pr-ps-buffer-ps-print |
| 4255 | (if (integerp n-up) | 4255 | (if (integerp n-up) |
| 4256 | (min (max n-up 1) 100) | 4256 | (min (max n-up 1) 100) |
| 4257 | (error "n-up must be an integer greater than zero.")) | 4257 | (error "n-up must be an integer greater than zero")) |
| 4258 | filename))) | 4258 | filename))) |
| 4259 | 4259 | ||
| 4260 | 4260 | ||
| @@ -5031,7 +5031,7 @@ non-nil." | |||
| 5031 | (let ((item (cdr (assq value pr-ps-utility-alist)))) | 5031 | (let ((item (cdr (assq value pr-ps-utility-alist)))) |
| 5032 | (or item | 5032 | (or item |
| 5033 | (error | 5033 | (error |
| 5034 | "Invalid PostScript utility name `%s' for variable `pr-ps-utility'." | 5034 | "Invalid PostScript utility name `%s' for variable `pr-ps-utility'" |
| 5035 | value)) | 5035 | value)) |
| 5036 | (setq pr-ps-utility value) | 5036 | (setq pr-ps-utility value) |
| 5037 | (pr-eval-alist (nthcdr 9 item))) | 5037 | (pr-eval-alist (nthcdr 9 item))) |
| @@ -5042,7 +5042,7 @@ non-nil." | |||
| 5042 | (let ((ps (cdr (assq value pr-ps-printer-alist)))) | 5042 | (let ((ps (cdr (assq value pr-ps-printer-alist)))) |
| 5043 | (or ps | 5043 | (or ps |
| 5044 | (error | 5044 | (error |
| 5045 | "Invalid PostScript printer name `%s' for variable `pr-ps-name'." | 5045 | "Invalid PostScript printer name `%s' for variable `pr-ps-name'" |
| 5046 | value)) | 5046 | value)) |
| 5047 | (setq pr-ps-name value | 5047 | (setq pr-ps-name value |
| 5048 | pr-ps-command (pr-dosify-file-name (nth 0 ps)) | 5048 | pr-ps-command (pr-dosify-file-name (nth 0 ps)) |
| @@ -5068,7 +5068,7 @@ non-nil." | |||
| 5068 | (defun pr-txt-set-printer (value) | 5068 | (defun pr-txt-set-printer (value) |
| 5069 | (let ((txt (cdr (assq value pr-txt-printer-alist)))) | 5069 | (let ((txt (cdr (assq value pr-txt-printer-alist)))) |
| 5070 | (or txt | 5070 | (or txt |
| 5071 | (error "Invalid text printer name `%s' for variable `pr-txt-name'." | 5071 | (error "Invalid text printer name `%s' for variable `pr-txt-name'" |
| 5072 | value)) | 5072 | value)) |
| 5073 | (setq pr-txt-name value | 5073 | (setq pr-txt-name value |
| 5074 | pr-txt-command (pr-dosify-file-name (nth 0 txt)) | 5074 | pr-txt-command (pr-dosify-file-name (nth 0 txt)) |
| @@ -5121,7 +5121,7 @@ non-nil." | |||
| 5121 | (setq global nil))) | 5121 | (setq global nil))) |
| 5122 | (and inherits | 5122 | (and inherits |
| 5123 | (if (memq inherits old) | 5123 | (if (memq inherits old) |
| 5124 | (error "Circular inheritance for `%S'." inherits) | 5124 | (error "Circular inheritance for `%S'" inherits) |
| 5125 | (setq local-list | 5125 | (setq local-list |
| 5126 | (pr-eval-setting-alist inherits global | 5126 | (pr-eval-setting-alist inherits global |
| 5127 | (cons inherits old))))) | 5127 | (cons inherits old))))) |
| @@ -5349,7 +5349,7 @@ non-nil." | |||
| 5349 | 5349 | ||
| 5350 | (defun pr-switches (switches mess) | 5350 | (defun pr-switches (switches mess) |
| 5351 | (or (listp switches) | 5351 | (or (listp switches) |
| 5352 | (error "%S should have a list of strings." mess)) | 5352 | (error "%S should have a list of strings" mess)) |
| 5353 | (ps-flatten-list ; dynamic evaluation | 5353 | (ps-flatten-list ; dynamic evaluation |
| 5354 | (mapcar 'ps-eval-switch switches))) | 5354 | (mapcar 'ps-eval-switch switches))) |
| 5355 | 5355 | ||