Function: rectangle-previous-line

rectangle-previous-line is an interactive and byte-compiled function defined in rect.el.gz.

Signature

(rectangle-previous-line &optional N)

Documentation

Like previous-line but steps into wide chars and moves past EOL.

Ignores line-move-visual(var)/line-move-visual(fun).

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/rect.el.gz
(defun rectangle-previous-line (&optional n)
  "Like `previous-line' but steps into wide chars and moves past EOL.
Ignores `line-move-visual'."
  (interactive "p")
  (let ((col (rectangle--point-col (point))))
    (forward-line (- n))
    (rectangle--col-pos col 'point)))