Variable: line-move-visual

line-move-visual is a customizable variable defined in simple.el.gz.

Value

t

Documentation

When non-nil, line-move moves point by visual lines.

This movement is based on where the cursor is displayed on the screen, instead of relying on buffer contents alone. It takes into account variable-width characters and line continuation. If nil, line-move moves point by logical lines. A non-nil setting of goal-column overrides the value of this variable and forces movement by logical lines. A window that is horizontally scrolled also forces movement by logical lines.

This variable was added, or its default value changed, in Emacs 23.1.

View in manual

Probably introduced at or before Emacs version 23.1.

Source Code

;; Defined in /usr/src/emacs/lisp/simple.el.gz
(defcustom line-move-visual t
  "When non-nil, `line-move' moves point by visual lines.
This movement is based on where the cursor is displayed on the
screen, instead of relying on buffer contents alone.  It takes
into account variable-width characters and line continuation.
If nil, `line-move' moves point by logical lines.
A non-nil setting of `goal-column' overrides the value of this variable
and forces movement by logical lines.
A window that is horizontally scrolled also forces movement by logical
lines."
  :type 'boolean
  :group 'editing-basics
  :version "23.1")