From 388b22deb41bd53d9294c0e4dcfb6af286252884 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Tue, 8 Jul 2014 22:20:21 -0400 Subject: * lisp/rect.el (apply-on-rectangle): Check forward-line really moved to the next line. --- lisp/rect.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lisp/rect.el') diff --git a/lisp/rect.el b/lisp/rect.el index a2f8e4f6371..4c3aa08d7bd 100644 --- a/lisp/rect.el +++ b/lisp/rect.el @@ -163,7 +163,7 @@ The final point after the last operation will be returned." (progn (apply function startcol endcol args) (setq final-point (point)) - (and (zerop (forward-line 1)) + (and (zerop (forward-line 1)) (bolp) (<= (point) endpt)))) final-point))) -- cgit v1.2.1