diff options
| author | Vinicius Jose Latorre | 2007-08-06 12:36:07 +0000 |
|---|---|---|
| committer | Vinicius Jose Latorre | 2007-08-06 12:36:07 +0000 |
| commit | 83c45bb41168aaaf8412ea6524d7126b6ba75c3f (patch) | |
| tree | 8aa031116c7e4622c75f9302e15229d7edada10c | |
| parent | e418ca84688c6e48343bf8952bf2e70a6fd19dfb (diff) | |
| download | emacs-83c45bb41168aaaf8412ea6524d7126b6ba75c3f.tar.gz emacs-83c45bb41168aaaf8412ea6524d7126b6ba75c3f.zip | |
Require lpr and ps-print when loading printing package
| -rw-r--r-- | lisp/ChangeLog | 6 | ||||
| -rw-r--r-- | lisp/printing.el | 11 |
2 files changed, 11 insertions, 6 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 05dfd642365..1d25158afb3 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2007-08-06 Vinicius Jose Latorre <viniciusig@ig.com.br> | ||
| 2 | |||
| 3 | * printing.el: Require lpr and ps-print when loading printing package. | ||
| 4 | Reported by Glenn Morris <rgm@gnu.org>. | ||
| 5 | (pr-update-menus): Docstring fix. | ||
| 6 | |||
| 1 | 2007-08-03 Vinicius Jose Latorre <viniciusjl@ig.com.br> | 7 | 2007-08-03 Vinicius Jose Latorre <viniciusjl@ig.com.br> |
| 2 | 8 | ||
| 3 | * printing.el: Evaluate require only during compilation. | 9 | * printing.el: Evaluate require only during compilation. |
diff --git a/lisp/printing.el b/lisp/printing.el index 98cb442ed00..a4b4c4217ed 100644 --- a/lisp/printing.el +++ b/lisp/printing.el | |||
| @@ -1025,9 +1025,8 @@ Please send all bug fixes and enhancements to | |||
| 1025 | ;;; Code: | 1025 | ;;; Code: |
| 1026 | 1026 | ||
| 1027 | 1027 | ||
| 1028 | (eval-when-compile | 1028 | (require 'lpr) |
| 1029 | (require 'lpr) | 1029 | (require 'ps-print) |
| 1030 | (require 'ps-print)) | ||
| 1031 | 1030 | ||
| 1032 | 1031 | ||
| 1033 | (and (string< ps-print-version "6.6.4") | 1032 | (and (string< ps-print-version "6.6.4") |
| @@ -5196,9 +5195,9 @@ See `pr-visible-entry-alist'.") | |||
| 5196 | 5195 | ||
| 5197 | If FORCE is non-nil, update menus doesn't matter if `pr-ps-printer-alist', | 5196 | If FORCE is non-nil, update menus doesn't matter if `pr-ps-printer-alist', |
| 5198 | `pr-txt-printer-alist' or `pr-ps-utility-alist' were modified or not; | 5197 | `pr-txt-printer-alist' or `pr-ps-utility-alist' were modified or not; |
| 5199 | otherwise, update PostScript printer menu iff `pr-ps-printer-menu-modified' is | 5198 | otherwise, update PostScript printer menu if `pr-ps-printer-menu-modified' is |
| 5200 | non-nil, update text printer menu iff `pr-txt-printer-menu-modified' is | 5199 | non-nil, update text printer menu if `pr-txt-printer-menu-modified' is |
| 5201 | non-nil, and update PostScript File menus iff `pr-ps-utility-menu-modified' is | 5200 | non-nil, and update PostScript File menus if `pr-ps-utility-menu-modified' is |
| 5202 | non-nil. | 5201 | non-nil. |
| 5203 | 5202 | ||
| 5204 | If menu binding was not done, calls `pr-menu-bind'." | 5203 | If menu binding was not done, calls `pr-menu-bind'." |