We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 25d44d2 commit 48422afCopy full SHA for 48422af
doc/lispref/modes.texi
@@ -363,7 +363,9 @@ it provides a command that does the same job in a way better
363
suited to the text this mode is used for. For example, a major mode
364
for editing a programming language might redefine @kbd{C-M-a} to
365
move to the beginning of a function in a way that works better for
366
-that language.
+that language. The recommended way of tailoring @kbd{C-M-a} to the
367
+needs of a major mode is to set @code{beginning-of-defun-function}
368
+(@pxref{List Motion}) to invoke the function specific to the mode.
369
370
It is also legitimate for a major mode to rebind a standard key
371
sequence whose standard meaning is rarely useful in that mode. For
0 commit comments