# HG changeset patch # User Richard M. Stallman # Date 744435663 0 # Node ID ff1f9d7addd9e620ba04fc170c3951db3b2f25e6 # Parent a1e41287373217021262f248d8067d2d8b1be917 (print-region-1): Make END a marker so untabify relocates it. diff -r a1e412873732 -r ff1f9d7addd9 lisp/lpr.el --- a/lisp/lpr.el Tue Aug 03 21:38:31 1993 +0000 +++ b/lisp/lpr.el Wed Aug 04 03:41:03 1993 +0000 @@ -80,6 +80,9 @@ (progn (print-region-new-buffer start end) (setq tab-width width) + (save-excursion + (goto-char end) + (setq end (point-marker))) (untabify (point-min) (point-max)))) (if page-headers (if (eq system-type 'usg-unix-v) @@ -94,6 +97,8 @@ (nconc (and (eq system-type 'berkeley-unix) (list "-J" name "-T" name)) switches))) + (if (markerp end) + (set-marker end nil)) (message "Spooling...done")))) ;; This function copies the text between start and end