changeset 740:68d3b87a6754

[xemacs-hg @ 2002-02-03 20:33:34 by adrian] [AC21.5R21.4] [PATCH] xemacs-21.5: Dont pass unwanted buffer argument to lpr-region in generic-print-region <zo2qqpbv.fsf@mailto.t-online.de>
author adrian
date Sun, 03 Feb 2002 20:33:35 +0000
parents 2e5e2ccbeed2
children 1d4da9ee6381
files lisp/ChangeLog lisp/printer.el
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Sat Feb 02 13:42:54 2002 +0000
+++ b/lisp/ChangeLog	Sun Feb 03 20:33:35 2002 +0000
@@ -1,3 +1,8 @@
+2002-02-03  Adrian Aichner  <adrian@xemacs.org>
+
+	* printer.el (generic-print-region): Don't pass unwanted buffer
+	argument to lpr-region, as pointed out by Björn Torkelsson.
+
 2002-02-02  William M. Perry  <wmperry@gnu.org>
 
 	* widgets-gtk.el (gtk-widget-get-callback): New function to
--- a/lisp/printer.el	Sat Feb 02 13:42:54 2002 +0000
+++ b/lisp/printer.el	Sun Feb 03 20:33:35 2002 +0000
@@ -446,5 +446,5 @@
 	     (setq copies (1- copies)))))
 	((and (not (eq system-type 'windows-nt))
 	      (fboundp 'lpr-region))
-	 (lpr-region start end buffer))
+	 (lpr-region start end))
 	(t (error "No print support available"))))