Function: previous-logical-line

previous-logical-line is an interactive and byte-compiled function defined in simple.el.gz.

Signature

(previous-logical-line &optional ARG TRY-VSCROLL)

Documentation

Move cursor vertically up ARG lines.

This is identical to previous-line, except that it always moves by logical lines instead of visual lines, ignoring the value of the variable line-move-visual(var)/line-move-visual(fun).

View in manual

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/simple.el.gz
(defun previous-logical-line (&optional arg try-vscroll)
  "Move cursor vertically up ARG lines.
This is identical to `previous-line', except that it always moves
by logical lines instead of visual lines, ignoring the value of
the variable `line-move-visual'."
  (interactive "^p\np")
  (let ((line-move-visual nil))
    (with-no-warnings
      (previous-line arg try-vscroll))))