aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorEli Zaretskii2014-05-17 11:58:17 +0300
committerEli Zaretskii2014-05-17 11:58:17 +0300
commit1e046d37a49e235c2461630086a65a09ec6cb792 (patch)
treef89e68e0068364c15507dc010cab309841863e38 /lisp
parentf81605024fa7b10783440985e3d458cdbda5a270 (diff)
downloademacs-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/ChangeLog4
-rw-r--r--lisp/simple.el11
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 @@
12014-05-17 Eli Zaretskii <eliz@gnu.org>
2
3 * simple.el (line-move-ignore-invisible): Doc fix. (Bug#17511)
4
12014-05-16 Michael Albinus <michael.albinus@gmx.de> 52014-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
4983When this option is non-nil, \\[next-line], \\[previous-line], \\[move-end-of-line], and \\[move-beginning-of-line] behave
4984as if newlines that are invisible didn't exist, and count
4985only visible newlines. Thus, moving across across 2 newlines
4986one of which is invisible will be counted as a one-line move.
4987Also, a non-nil value causes invisible text to be ignored when
4988counting columns for the purposes of keeping point in the same
4989column by \\[next-line] and \\[previous-line].
4990
4982Outline mode sets this." 4991Outline mode sets this."
4983 :type 'boolean 4992 :type 'boolean
4984 :group 'editing-basics) 4993 :group 'editing-basics)