diff options
| -rw-r--r-- | lisp/rect.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/rect.el b/lisp/rect.el index 4f5ae2d8146..437f030395d 100644 --- a/lisp/rect.el +++ b/lisp/rect.el @@ -135,7 +135,7 @@ the function is called." )) (defun delete-rectangle-line (startcol endcol fill) - (let ((pt (point-at-eol))) + (let ((pt (line-end-position))) (when (= (move-to-column-force startcol (or fill 'coerce)) startcol) (if (and (not fill) (<= pt endcol)) (delete-region (point) pt) |
