changeset 67619:8ae5d2f218aa

(Minibuffer Contents): Add minibuffer-completion-contents.
author Juri Linkov <juri@jurta.org>
date Fri, 16 Dec 2005 19:05:54 +0000
parents 40cdd21343f8
children b0794ecc7df6
files lispref/minibuf.texi
diffstat 1 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lispref/minibuf.texi	Fri Dec 16 19:03:17 2005 +0000
+++ b/lispref/minibuf.texi	Fri Dec 16 19:05:54 2005 +0000
@@ -1836,6 +1836,15 @@
 properties, just the characters themselves.  @xref{Text Properties}.
 @end defun
 
+@defun minibuffer-completion-contents
+@tindex minibuffer-completion-contents
+This is like @code{minibuffer-contents}, except that it when point is
+not at the end of the minibuffer, it doesn't return the entire
+contents of the minibuffer.  It returns the contents of the minibuffer
+just before point.  That is what completion commands operate on.
+@xref{Minibuffer Completion}.
+@end defun
+
 @defun delete-minibuffer-contents
 @tindex delete-minibuffer-contents
 This function erases the editable contents of the minibuffer (that is,