aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2003-09-12 01:06:43 +0000
committerRichard M. Stallman2003-09-12 01:06:43 +0000
commitf460db362df4c519621494e950d47a5b76fa884d (patch)
treeb25e6171cc839f2cbf403b8be4fe4e079ba3cb76
parent84c3f2480e5bb644f10616b4eb402adc4833c8c1 (diff)
downloademacs-f460db362df4c519621494e950d47a5b76fa884d.tar.gz
emacs-f460db362df4c519621494e950d47a5b76fa884d.zip
(Intro to Minibuffers): Explain that the minibuffer
changes variables that record input events. (Minibuffer Misc): Add minibuffer-selected-window.
-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
63just a minibuffer, you can change the minibuffer's size by changing the 63just a minibuffer, you can change the minibuffer's size by changing the
64frame's size. 64frame's size.
65 65
66 Use of the minibuffer reads input events, and that alters the values
67of variables such as @code{this-command} and @code{last-command}
68(@pxref{Command Loop Info}). Your program should bind them around the
69code that uses the minibuffer, if you do not want that to change them.
70
66 If a command uses a minibuffer while there is an active minibuffer, 71 If a command uses a minibuffer while there is an active minibuffer,
67this is called a @dfn{recursive minibuffer}. The first minibuffer is 72this is called a @dfn{recursive minibuffer}. The first minibuffer is
68named @w{@samp{ *Minibuf-0*}}. Recursive minibuffers are named by 73named @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
1660minibuffer, it scrolls this window. 1665minibuffer, it scrolls this window.
1661@end defvar 1666@end defvar
1662 1667
1668@defun minibuffer-selected-window
1669This function returns the window which was selected when the
1670minibuffer was entered. If selected window is not a minibuffer
1671window, it returns @code{nil}.
1672@end defun
1673
1663Finally, some functions and variables deal with recursive minibuffers 1674Finally, some functions and variables deal with recursive minibuffers
1664(@pxref{Recursive Editing}): 1675(@pxref{Recursive Editing}):
1665 1676