From: Eli Zaretskii <eliz@gnu.org>
Date: Fri, 16 Sep 2016 09:31:41 +0000 (+0300)
Subject: Improve detectability of 'next-logical-line' and 'previous-logical-line'
X-Git-Tag: emacs-25.1.90~163
X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=2e2469bbfeb6c1865012f34a180c9beda9e56862;p=emacs.git

Improve detectability of 'next-logical-line' and 'previous-logical-line'

* lisp/simple.el (next-line, previous-line): Mention
'next-logical-line' and 'previous-logical-line' in the doc
strings.  (Bug#24443)

This was backported from master
(cherry picked from commit e95d0d15bb1534803b0adb3c3a927c8beb7d4e79)
---

diff --git a/lisp/simple.el b/lisp/simple.el
index c08a01faed6..5dbaebb9355 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -5641,6 +5641,7 @@ cursor to the end of the buffer.
 If the variable `line-move-visual' is non-nil, this command moves
 by display lines.  Otherwise, it moves by buffer lines, without
 taking variable-width characters or continued lines into account.
+See \\[next-logical-line] for a command that always moves by buffer lines.
 
 The command \\[set-goal-column] can be used to create
 a semipermanent goal column for this command.
@@ -5684,6 +5685,7 @@ column, or at the end of the line if it is not long enough.
 If the variable `line-move-visual' is non-nil, this command moves
 by display lines.  Otherwise, it moves by buffer lines, without
 taking variable-width characters or continued lines into account.
+See \\[previous-logical-line] for a command that always moves by buffer lines.
 
 The command \\[set-goal-column] can be used to create
 a semipermanent goal column for this command.