diff options
| author | Eli Zaretskii | 2014-05-17 11:58:17 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2014-05-17 11:58:17 +0300 |
| commit | 1e046d37a49e235c2461630086a65a09ec6cb792 (patch) | |
| tree | f89e68e0068364c15507dc010cab309841863e38 /lisp | |
| parent | f81605024fa7b10783440985e3d458cdbda5a270 (diff) | |
| download | emacs-1e046d37a49e235c2461630086a65a09ec6cb792.tar.gz emacs-1e046d37a49e235c2461630086a65a09ec6cb792.zip | |
Fix bug #17511 with unclear documentation of line-move-ignore-invisible.
lisp/simple.el (line-move-ignore-invisible): Doc fix.
doc/lispref/display.texi (Invisible Text): Clarify the description of
line-move-ignore-invisible.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/simple.el | 11 |
2 files changed, 14 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 3907aade58e..fc18c9d77d8 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2014-05-17 Eli Zaretskii <eliz@gnu.org> | ||
| 2 | |||
| 3 | * simple.el (line-move-ignore-invisible): Doc fix. (Bug#17511) | ||
| 4 | |||
| 1 | 2014-05-16 Michael Albinus <michael.albinus@gmx.de> | 5 | 2014-05-16 Michael Albinus <michael.albinus@gmx.de> |
| 2 | 6 | ||
| 3 | * net/dbus.el (dbus-init-bus, dbus-call-method) | 7 | * net/dbus.el (dbus-init-bus, dbus-call-method) |
diff --git a/lisp/simple.el b/lisp/simple.el index 36d2d0b3a15..1b14250e2fd 100644 --- a/lisp/simple.el +++ b/lisp/simple.el | |||
| @@ -4978,7 +4978,16 @@ When the `track-eol' feature is doing its job, the value is | |||
| 4978 | `most-positive-fixnum'.") | 4978 | `most-positive-fixnum'.") |
| 4979 | 4979 | ||
| 4980 | (defcustom line-move-ignore-invisible t | 4980 | (defcustom line-move-ignore-invisible t |
| 4981 | "Non-nil means \\[next-line] and \\[previous-line] ignore invisible lines. | 4981 | "Non-nil means commands that move by lines ignore invisible newlines. |
| 4982 | |||
| 4983 | When this option is non-nil, \\[next-line], \\[previous-line], \\[move-end-of-line], and \\[move-beginning-of-line] behave | ||
| 4984 | as if newlines that are invisible didn't exist, and count | ||
| 4985 | only visible newlines. Thus, moving across across 2 newlines | ||
| 4986 | one of which is invisible will be counted as a one-line move. | ||
| 4987 | Also, a non-nil value causes invisible text to be ignored when | ||
| 4988 | counting columns for the purposes of keeping point in the same | ||
| 4989 | column by \\[next-line] and \\[previous-line]. | ||
| 4990 | |||
| 4982 | Outline mode sets this." | 4991 | Outline mode sets this." |
| 4983 | :type 'boolean | 4992 | :type 'boolean |
| 4984 | :group 'editing-basics) | 4993 | :group 'editing-basics) |