1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

Improve minibuffer-inactive-mode documentation

* lisp/minibuffer.el (minibuffer-inactive-mode): Clarify when it's
used (bug#13641).
This commit is contained in:
Lars Ingebrigtsen 2021-08-12 17:14:36 +02:00
parent 1678d3599b
commit afc945d0c9

View file

@ -2706,7 +2706,14 @@ not active.")
:abbrev-table nil ;abbrev.el is not loaded yet during dump.
;; Note: this major mode is called from minibuf.c.
"Major mode to use in the minibuffer when it is not active.
This is only used when the minibuffer area has no active minibuffer.")
This is only used when the minibuffer area has no active minibuffer.
Note that the minibuffer may change to this mode more often than
you might expect. For instance, typing `M-x' may change the
buffer to this mode, then to a different mode, and then back
again to this mode upon exit. Code running from
`minibuffer-inactive-mode-hook' has to be prepared to run
multiple times per minibuffer invocation.")
(defvaralias 'minibuffer-mode-map 'minibuffer-local-map)