changeset 717:87c43a431742

[xemacs-hg @ 2001-12-27 22:52:25 by adrian] [PATCH VETO SUPERSEDE] Re: generic-print-region sends wrong arguments to lpr-region <g05y3mh9.fsf@engine.ecf.teradyne.com>
author adrian
date Thu, 27 Dec 2001 22:52:26 +0000
parents d1ecd411af4c
children 29e4e3036b4e
files lisp/ChangeLog lisp/printer.el
diffstat 2 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Wed Dec 26 23:57:56 2001 +0000
+++ b/lisp/ChangeLog	Thu Dec 27 22:52:26 2001 +0000
@@ -1,3 +1,9 @@
+2001-12-26  Adrian Aichner  <adrian@xemacs.org>
+
+	* printer.el (generic-print-region): Pass on arguments start, end,
+	and buffer to lpr-region.  The original problem was pointed out by
+	Nevin Kapur.
+
 2001-12-26  John Paul Wallington  <jpw@shootybangbang.com>
 
 	* keydefs.el (global-map): add a defn for C-x 5 1, previously
--- a/lisp/printer.el	Wed Dec 26 23:57:56 2001 +0000
+++ b/lisp/printer.el	Thu Dec 27 22:52:26 2001 +0000
@@ -446,5 +446,5 @@
 	     (setq copies (1- copies)))))
 	((and (not (eq system-type 'windows-nt))
 	      (fboundp 'lpr-region))
-	 (lpr-region (point-min) (point-max)))
+	 (lpr-region start end buffer))
 	(t (error "No print support available"))))