aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lispref/minibuf.texi27
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 @@
1@c -*-texinfo-*- 1@c -*-texinfo-*-
2@c This is part of the GNU Emacs Lisp Reference Manual. 2@c This is part of the GNU Emacs Lisp Reference Manual.
3@c Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1998, 1999 3@c Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1998, 1999, 2001
4@c Free Software Foundation, Inc. 4@c Free Software Foundation, Inc.
5@c See the file elisp.texi for copying conditions. 5@c See the file elisp.texi for copying conditions.
6@setfilename ../info/minibuf 6@setfilename ../info/minibuf
@@ -1508,11 +1508,32 @@ This function returns the prompt string of the currently active
1508minibuffer. If no minibuffer is active, it returns @code{nil}. 1508minibuffer. If no minibuffer is active, it returns @code{nil}.
1509@end defun 1509@end defun
1510 1510
1511@tindex minibuffer-prompt-end
1512@defun minibuffer-prompt-end 1511@defun minibuffer-prompt-end
1512@tindex minibuffer-prompt-end
1513This function, available starting in Emacs 21, returns the current 1513This function, available starting in Emacs 21, returns the current
1514position of the end of the minibuffer prompt, if a minibuffer is 1514position of the end of the minibuffer prompt, if a minibuffer is
1515current. Otherwise, it returns zero. 1515current. Otherwise, it returns the minimum valid buffer position.
1516@end defun
1517
1518@defun minibuffer-contents
1519@tindex minibuffer-contents
1520This function, available starting in Emacs 21, returns the editable
1521contents of the minibuffer (that is, everything except the prompt) as
1522a string, if a minibuffer is current. Otherwise, it returns the
1523entire contents of the current buffer.
1524@end defun
1525
1526@defun minibuffer-contents-no-properties
1527@tindex minibuffer-contents-no-properties
1528This is like @code{minibuffer-contents}, except that it does not copy text
1529properties, just the characters themselves. @xref{Text Properties}.
1530@end defun
1531
1532@defun delete-minibuffer-contents
1533@tindex delete-minibuffer-contents
1534This function, available starting in Emacs 21, erases the editable
1535contents of the minibuffer (that is, everything except the prompt), if
1536a minibuffer is current. Otherwise, it erases the entire buffer.
1516@end defun 1537@end defun
1517 1538
1518@defun minubuffer-prompt-width 1539@defun minubuffer-prompt-width