summaryrefslogtreecommitdiff
path: root/lispref/minibuf.texi
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>2003-09-12 01:06:43 +0000
committerRichard M. Stallman <rms@gnu.org>2003-09-12 01:06:43 +0000
commitf460db362df4c519621494e950d47a5b76fa884d (patch)
treeb25e6171cc839f2cbf403b8be4fe4e079ba3cb76 /lispref/minibuf.texi
parent84c3f2480e5bb644f10616b4eb402adc4833c8c1 (diff)
downloademacs-f460db362df4c519621494e950d47a5b76fa884d.tar.gz
(Intro to Minibuffers): Explain that the minibuffer
changes variables that record input events. (Minibuffer Misc): Add minibuffer-selected-window.
Diffstat (limited to 'lispref/minibuf.texi')
-rw-r--r--lispref/minibuf.texi11
1 files changed, 11 insertions, 0 deletions
diff --git a/lispref/minibuf.texi b/lispref/minibuf.texi
index 44161c0178d..0e455a446e7 100644
--- a/lispref/minibuf.texi
+++ b/lispref/minibuf.texi
@@ -63,6 +63,11 @@ other window, when the minibuffer is not active. If the frame contains
just a minibuffer, you can change the minibuffer's size by changing the
frame's size.
+ Use of the minibuffer reads input events, and that alters the values
+of variables such as @code{this-command} and @code{last-command}
+(@pxref{Command Loop Info}). Your program should bind them around the
+code that uses the minibuffer, if you do not want that to change them.
+
If a command uses a minibuffer while there is an active minibuffer,
this is called a @dfn{recursive minibuffer}. The first minibuffer is
named @w{@samp{ *Minibuf-0*}}. Recursive minibuffers are named by
@@ -1660,6 +1665,12 @@ object. When the function @code{scroll-other-window} is called in the
minibuffer, it scrolls this window.
@end defvar
+@defun minibuffer-selected-window
+This function returns the window which was selected when the
+minibuffer was entered. If selected window is not a minibuffer
+window, it returns @code{nil}.
+@end defun
+
Finally, some functions and variables deal with recursive minibuffers
(@pxref{Recursive Editing}):