1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-25 07:28:20 +00:00

* lisp/rect.el (apply-on-rectangle): Check forward-line really moved to the

next line.
This commit is contained in:
Stefan Monnier 2014-07-08 22:20:21 -04:00
parent 5613a6f6d5
commit 388b22deb4
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
* rect.el (apply-on-rectangle): Check forward-line really moved to the
next line.
2014-07-09 Stefan Monnier <monnier@iro.umontreal.ca>
* progmodes/sh-script.el (sh-smie-sh-rules): Don't align with a && in

View File

@ -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)))