mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-26 07:33:47 +00:00
Fix cursor at bottom left of rectangle (bug#24364)
* lisp/rect.el (rectangle--col-pos): Don't assume point at EOL doesn't require rectangle--point-crutches to be set.
This commit is contained in:
parent
8ad0d7da0a
commit
dfd047666b
@ -108,7 +108,7 @@ Point is at the end of the segment of this line within the rectangle."
|
||||
|
||||
(defun rectangle--col-pos (col kind)
|
||||
(let ((c (move-to-column col)))
|
||||
(if (= c col)
|
||||
(if (and (= c col) (not (eolp)))
|
||||
(if (eq kind 'point)
|
||||
(if (window-parameter nil 'rectangle--point-crutches)
|
||||
(setf (window-parameter nil 'rectangle--point-crutches) nil))
|
||||
|
Loading…
Reference in New Issue
Block a user