# HG changeset patch # User Juri Linkov # Date 1134759954 0 # Node ID 8ae5d2f218aab90e0fae65a40e693e0f57926c58 # Parent 40cdd21343f8199517ff410fc557aaad83747e68 (Minibuffer Contents): Add minibuffer-completion-contents. diff -r 40cdd21343f8 -r 8ae5d2f218aa lispref/minibuf.texi --- 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,