diff options
| author | Richard M. Stallman | 2003-09-12 01:06:43 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2003-09-12 01:06:43 +0000 |
| commit | f460db362df4c519621494e950d47a5b76fa884d (patch) | |
| tree | b25e6171cc839f2cbf403b8be4fe4e079ba3cb76 | |
| parent | 84c3f2480e5bb644f10616b4eb402adc4833c8c1 (diff) | |
| download | emacs-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.texi | 11 |
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 | |||
| 63 | just a minibuffer, you can change the minibuffer's size by changing the | 63 | just a minibuffer, you can change the minibuffer's size by changing the |
| 64 | frame's size. | 64 | frame's size. |
| 65 | 65 | ||
| 66 | Use of the minibuffer reads input events, and that alters the values | ||
| 67 | of variables such as @code{this-command} and @code{last-command} | ||
| 68 | (@pxref{Command Loop Info}). Your program should bind them around the | ||
| 69 | code 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, |
| 67 | this is called a @dfn{recursive minibuffer}. The first minibuffer is | 72 | this is called a @dfn{recursive minibuffer}. The first minibuffer is |
| 68 | named @w{@samp{ *Minibuf-0*}}. Recursive minibuffers are named by | 73 | 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 | |||
| 1660 | minibuffer, it scrolls this window. | 1665 | minibuffer, it scrolls this window. |
| 1661 | @end defvar | 1666 | @end defvar |
| 1662 | 1667 | ||
| 1668 | @defun minibuffer-selected-window | ||
| 1669 | This function returns the window which was selected when the | ||
| 1670 | minibuffer was entered. If selected window is not a minibuffer | ||
| 1671 | window, it returns @code{nil}. | ||
| 1672 | @end defun | ||
| 1673 | |||
| 1663 | Finally, some functions and variables deal with recursive minibuffers | 1674 | Finally, some functions and variables deal with recursive minibuffers |
| 1664 | (@pxref{Recursive Editing}): | 1675 | (@pxref{Recursive Editing}): |
| 1665 | 1676 | ||