aboutsummaryrefslogtreecommitdiffstats
path: root/doc/lispref
diff options
context:
space:
mode:
authorLars Ingebrigtsen2019-10-01 15:01:52 +0200
committerLars Ingebrigtsen2019-10-01 15:01:57 +0200
commit4861328f2a0b95adfb36885db645f5a87ddda7ea (patch)
tree337bee0ef64629992dd92daae8e39abf91c59f13 /doc/lispref
parentcdc440f0b62362fd38e91e2099919d57fef06436 (diff)
downloademacs-4861328f2a0b95adfb36885db645f5a87ddda7ea.tar.gz
emacs-4861328f2a0b95adfb36885db645f5a87ddda7ea.zip
Allow 'M-<' in the minibuffer to behave more logically
* doc/lispref/minibuf.texi (Completion Commands) (Text from Minibuffer): Document it. * lisp/minibuffer.el (minibuffer-beginning-of-buffer): New command (bug#3447). (map): Bind it.
Diffstat (limited to 'doc/lispref')
-rw-r--r--doc/lispref/minibuf.texi11
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/lispref/minibuf.texi b/doc/lispref/minibuf.texi
index cfea336a9e5..a9d6e83cf85 100644
--- a/doc/lispref/minibuf.texi
+++ b/doc/lispref/minibuf.texi
@@ -333,6 +333,9 @@ default, it makes the following bindings:
333@item @key{RET} 333@item @key{RET}
334@code{exit-minibuffer} 334@code{exit-minibuffer}
335 335
336@item @key{M-<}
337@code{minibuffer-beginning-of-buffer}
338
336@item @kbd{C-g} 339@item @kbd{C-g}
337@code{abort-recursive-edit} 340@code{abort-recursive-edit}
338 341
@@ -1248,6 +1251,14 @@ combines this keymap with either @code{minibuffer-local-completion-map}
1248or @code{minibuffer-local-must-match-map}. 1251or @code{minibuffer-local-must-match-map}.
1249@end defvar 1252@end defvar
1250 1253
1254@defvar minibuffer-beginning-of-buffer-movement
1255If non-@code{nil}, the @kbd{M-<} command will move to the end of the
1256prompt if point is after the end of the prompt. If point is at or
1257before the end of the prompt, move to the start of the buffer. If
1258this variable is @code{nil}, the command behaves like
1259@code{beginning-of-buffer}.
1260@end defvar
1261
1251 1262
1252@node High-Level Completion 1263@node High-Level Completion
1253@subsection High-Level Completion Functions 1264@subsection High-Level Completion Functions