1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-24 07:20:37 +00:00

(Minibuffer Misc): Add entries for `minibuffer-contents',

`minibuffer-contents-no-properties', and `delete-minibuffer-contents'.
Correct description for `minibuffer-prompt-end'.
This commit is contained in:
Miles Bader 2001-10-02 02:34:48 +00:00
parent adce7d83ed
commit b3b044f2ca

View File

@ -1,6 +1,6 @@
@c -*-texinfo-*- @c -*-texinfo-*-
@c This is part of the GNU Emacs Lisp Reference Manual. @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 Free Software Foundation, Inc.
@c See the file elisp.texi for copying conditions. @c See the file elisp.texi for copying conditions.
@setfilename ../info/minibuf @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}. minibuffer. If no minibuffer is active, it returns @code{nil}.
@end defun @end defun
@tindex minibuffer-prompt-end
@defun minibuffer-prompt-end @defun minibuffer-prompt-end
@tindex minibuffer-prompt-end
This function, available starting in Emacs 21, returns the current This function, available starting in Emacs 21, returns the current
position of the end of the minibuffer prompt, if a minibuffer is 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 @end defun
@defun minubuffer-prompt-width @defun minubuffer-prompt-width