emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs-26 48422af: Tiny improvement of documentation of maj


From: Eli Zaretskii
Subject: [Emacs-diffs] emacs-26 48422af: Tiny improvement of documentation of major mode conventions
Date: Sat, 8 Jun 2019 04:25:44 -0400 (EDT)

branch: emacs-26
commit 48422af0f327f3df45b6dc518708f36b4ed5f9d8
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>

    Tiny improvement of documentation of major mode conventions
    
    * doc/lispref/modes.texi (Major Mode Conventions): More
    accurate advice regarding customization of 'C-M-a' by major
    modes.
---
 doc/lispref/modes.texi | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/doc/lispref/modes.texi b/doc/lispref/modes.texi
index e8a8eb3..b6b9b58 100644
--- a/doc/lispref/modes.texi
+++ b/doc/lispref/modes.texi
@@ -363,7 +363,9 @@ it provides a command that does the same job in a way better
 suited to the text this mode is used for.  For example, a major mode
 for editing a programming language might redefine @kbd{C-M-a} to
 move to the beginning of a function in a way that works better for
-that language.
+that language.  The recommended way of tailoring @kbd{C-M-a} to the
+needs of a major mode is to set @code{beginning-of-defun-function}
+(@pxref{List Motion}) to invoke the function specific to the mode.
 
 It is also legitimate for a major mode to rebind a standard key
 sequence whose standard meaning is rarely useful in that mode.  For



reply via email to

[Prev in Thread] Current Thread [Next in Thread]