Commit 3b3bc36b authored by Alan Third's avatar Alan Third
Browse files

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.
parent ec12c670
......@@ -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))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment