diff lisp/prim/rect.el @ 161:28f395d8dc7a r20-3b7

Import from CVS: tag r20-3b7
author cvs
date Mon, 13 Aug 2007 09:42:26 +0200
parents b9518feda344
children
line wrap: on
line diff
--- a/lisp/prim/rect.el	Mon Aug 13 09:41:47 2007 +0200
+++ b/lisp/prim/rect.el	Mon Aug 13 09:42:26 2007 +0200
@@ -69,7 +69,8 @@
 	  (if (< begextra 0)
 	      (setq endextra (+ endextra begextra)
 		    begextra 0))
-          (apply function startpos begextra endextra extra-args))
+	  (if (< endextra 0) (setq endextra 0))
+	  (apply function startpos begextra endextra extra-args))
 	(forward-line 1)))
     (- endcol startcol)))