diff options
author | Miles Bader <miles@gnu.org> | 2001-10-02 02:34:48 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 2001-10-02 02:34:48 +0000 |
commit | b3b044f2ca87c4498d3d5699170f5086fd5b1e7f (patch) | |
tree | 6b5cea3fc9005e5c7a657e8f06aa1762f04dfb32 /lispref/minibuf.texi | |
parent | adce7d83ede700175eda277d1173412f673a4355 (diff) | |
download | emacs-b3b044f2ca87c4498d3d5699170f5086fd5b1e7f.tar.gz |
(Minibuffer Misc): Add entries for `minibuffer-contents',
`minibuffer-contents-no-properties', and `delete-minibuffer-contents'.
Correct description for `minibuffer-prompt-end'.
Diffstat (limited to 'lispref/minibuf.texi')
-rw-r--r-- | lispref/minibuf.texi | 27 |
1 files changed, 24 insertions, 3 deletions
diff --git a/lispref/minibuf.texi b/lispref/minibuf.texi index 5880173e568..0bdb634af3f 100644 --- a/lispref/minibuf.texi +++ b/lispref/minibuf.texi @@ -1,6 +1,6 @@ @c -*-texinfo-*- @c This is part of the GNU Emacs Lisp Reference Manual. -@c Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1998, 1999 +@c Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1998, 1999, 2001 @c Free Software Foundation, Inc. @c See the file elisp.texi for copying conditions. @setfilename ../info/minibuf @@ -1508,11 +1508,32 @@ This function returns the prompt string of the currently active minibuffer. If no minibuffer is active, it returns @code{nil}. @end defun -@tindex minibuffer-prompt-end @defun minibuffer-prompt-end +@tindex minibuffer-prompt-end This function, available starting in Emacs 21, returns the current position of the end of the minibuffer prompt, if a minibuffer is -current. Otherwise, it returns zero. +current. Otherwise, it returns the minimum valid buffer position. +@end defun + +@defun minibuffer-contents +@tindex minibuffer-contents +This function, available starting in Emacs 21, returns the editable +contents of the minibuffer (that is, everything except the prompt) as +a string, if a minibuffer is current. Otherwise, it returns the +entire contents of the current buffer. +@end defun + +@defun minibuffer-contents-no-properties +@tindex minibuffer-contents-no-properties +This is like @code{minibuffer-contents}, except that it does not copy text +properties, just the characters themselves. @xref{Text Properties}. +@end defun + +@defun delete-minibuffer-contents +@tindex delete-minibuffer-contents +This function, available starting in Emacs 21, erases the editable +contents of the minibuffer (that is, everything except the prompt), if +a minibuffer is current. Otherwise, it erases the entire buffer. @end defun @defun minubuffer-prompt-width |