changeset 91003:2e0d11dc863d

Require lpr and ps-print when loading printing package
author Vinicius Jose Latorre <viniciusjl@ig.com.br>
date Mon, 06 Aug 2007 12:36:07 +0000
parents 8f9a5f52f99f
children f72cf5b2ab11
files lisp/ChangeLog lisp/printing.el
diffstat 2 files changed, 11 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Fri Aug 03 13:53:03 2007 +0000
+++ b/lisp/ChangeLog	Mon Aug 06 12:36:07 2007 +0000
@@ -1,3 +1,9 @@
+2007-08-06  Vinicius Jose Latorre  <viniciusig@ig.com.br>
+
+	* printing.el: Require lpr and ps-print when loading printing package.
+	Reported by Glenn Morris <rgm@gnu.org>.
+	(pr-update-menus): Docstring fix.
+
 2007-08-03  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
 
 	* printing.el: Evaluate require only during compilation.
--- a/lisp/printing.el	Fri Aug 03 13:53:03 2007 +0000
+++ b/lisp/printing.el	Mon Aug 06 12:36:07 2007 +0000
@@ -1025,9 +1025,8 @@
 ;;; Code:
 
 
-(eval-when-compile
-  (require 'lpr)
-  (require 'ps-print))
+(require 'lpr)
+(require 'ps-print)
 
 
 (and (string< ps-print-version "6.6.4")
@@ -5196,9 +5195,9 @@
 
 If FORCE is non-nil, update menus doesn't matter if `pr-ps-printer-alist',
 `pr-txt-printer-alist' or `pr-ps-utility-alist' were modified or not;
-otherwise, update PostScript printer menu iff `pr-ps-printer-menu-modified' is
-non-nil, update text printer menu iff `pr-txt-printer-menu-modified' is
-non-nil, and update PostScript File menus iff `pr-ps-utility-menu-modified' is
+otherwise, update PostScript printer menu if `pr-ps-printer-menu-modified' is
+non-nil, update text printer menu if `pr-txt-printer-menu-modified' is
+non-nil, and update PostScript File menus if `pr-ps-utility-menu-modified' is
 non-nil.
 
 If menu binding was not done, calls `pr-menu-bind'."