diff options
| author | Glenn Morris | 2017-10-21 09:07:30 -0700 |
|---|---|---|
| committer | Glenn Morris | 2017-10-21 09:07:30 -0700 |
| commit | cda4c74e60962a49908d130f6dd70b0ae90a0255 (patch) | |
| tree | e60604475057495c22fb64bf81933f72602151e0 /doc | |
| parent | 701c65829d79dbc479fd8c282af3c6faffc21665 (diff) | |
| parent | 888e51f2203c125e8283852d55e54acc8e893f8a (diff) | |
| download | emacs-cda4c74e60962a49908d130f6dd70b0ae90a0255.tar.gz emacs-cda4c74e60962a49908d130f6dd70b0ae90a0255.zip | |
Merge from origin/emacs-26
888e51f220 (origin/emacs-26) Update describe-function for recent Fdoc...
75bb482763 Make flymake's mouse-wheel interaction portable (Bug#28732)
035d7ac7e4 Prevent eldoc from changing the mode line
c9d71b31bf Fix doc strings in simple.el
0d8e4f45d6 Avoid creating inconsistent buffer states in term-char-mode
79d57f4b7a New input method 'usbek-cyrillic'
4587d8e0ef Document 'minibuffer-with-setup-hook'
# Conflicts:
# etc/NEWS
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/lispref/minibuf.texi | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/lispref/minibuf.texi b/doc/lispref/minibuf.texi index afd44b7dfe4..1ece8996008 100644 --- a/doc/lispref/minibuf.texi +++ b/doc/lispref/minibuf.texi | |||
| @@ -2407,6 +2407,19 @@ This is a normal hook that is run whenever the minibuffer is entered. | |||
| 2407 | @xref{Hooks}. | 2407 | @xref{Hooks}. |
| 2408 | @end defvar | 2408 | @end defvar |
| 2409 | 2409 | ||
| 2410 | @defmac minibuffer-with-setup-hook function &rest body | ||
| 2411 | This macro executes @var{body} after arranging for the specified | ||
| 2412 | @var{function} to be called via @code{minibuffer-setup-hook}. By | ||
| 2413 | default, @var{function} is called before the other functions in the | ||
| 2414 | @code{minibuffer-setup-hook} list, but if @var{function} is of the | ||
| 2415 | form @w{@code{(:append @var{func})}}, @var{func} will be called | ||
| 2416 | @emph{after} the other hook functions. | ||
| 2417 | |||
| 2418 | The @var{body} forms should not use the minibuffer more than once. If | ||
| 2419 | the minibuffer is re-entered recursively, @var{function} will only be | ||
| 2420 | called once, for the outermost use of the minibuffer. | ||
| 2421 | @end defmac | ||
| 2422 | |||
| 2410 | @defvar minibuffer-exit-hook | 2423 | @defvar minibuffer-exit-hook |
| 2411 | This is a normal hook that is run whenever the minibuffer is exited. | 2424 | This is a normal hook that is run whenever the minibuffer is exited. |
| 2412 | @xref{Hooks}. | 2425 | @xref{Hooks}. |