diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2019-10-01 15:01:52 +0200 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2019-10-01 15:01:57 +0200 |
commit | 4861328f2a0b95adfb36885db645f5a87ddda7ea (patch) | |
tree | 337bee0ef64629992dd92daae8e39abf91c59f13 /doc | |
parent | cdc440f0b62362fd38e91e2099919d57fef06436 (diff) | |
download | emacs-4861328f2a0b95adfb36885db645f5a87ddda7ea.tar.gz |
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')
-rw-r--r-- | doc/lispref/minibuf.texi | 11 |
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: @item @key{RET} @code{exit-minibuffer} +@item @key{M-<} +@code{minibuffer-beginning-of-buffer} + @item @kbd{C-g} @code{abort-recursive-edit} @@ -1248,6 +1251,14 @@ combines this keymap with either @code{minibuffer-local-completion-map} or @code{minibuffer-local-must-match-map}. @end defvar +@defvar minibuffer-beginning-of-buffer-movement +If non-@code{nil}, the @kbd{M-<} command will move to the end of the +prompt if point is after the end of the prompt. If point is at or +before the end of the prompt, move to the start of the buffer. If +this variable is @code{nil}, the command behaves like +@code{beginning-of-buffer}. +@end defvar + @node High-Level Completion @subsection High-Level Completion Functions |