emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lispref/minibuf.texi


From: Kim F . Storm
Subject: [Emacs-diffs] Changes to emacs/lispref/minibuf.texi
Date: Tue, 22 Feb 2005 15:50:05 -0500

Index: emacs/lispref/minibuf.texi
diff -c emacs/lispref/minibuf.texi:1.55 emacs/lispref/minibuf.texi:1.56
*** emacs/lispref/minibuf.texi:1.55     Mon Feb 14 10:17:32 2005
--- emacs/lispref/minibuf.texi  Tue Feb 22 20:50:05 2005
***************
*** 595,603 ****
  @defun try-completion string collection &optional predicate
  This function returns the longest common substring of all possible
  completions of @var{string} in @var{collection}.  The value of
! @var{collection} must be a list of strings, an alist, an obarray, a
! hash table, or a function that implements a virtual set of strings
! (see below).
  
  Completion compares @var{string} against each of the permissible
  completions specified by @var{collection}; if the beginning of the
--- 595,603 ----
  @defun try-completion string collection &optional predicate
  This function returns the longest common substring of all possible
  completions of @var{string} in @var{collection}.  The value of
! @var{collection} must be a list of strings or symbols, an alist, an
! obarray, a hash table, or a function that implements a virtual set of
! strings (see below).
  
  Completion compares @var{string} against each of the permissible
  completions specified by @var{collection}; if the beginning of the
***************
*** 610,620 ****
  
  If @var{collection} is an alist (@pxref{Association Lists}), the
  permissible completions are the elements of the alist that are either
! strings or conses whose @sc{car} is a string.  Other elements of the
! alist are ignored. (Remember that in Emacs Lisp, the elements of
! alists do not @emph{have} to be conses.)  As all elements of the alist
! can be strings, this case actually includes lists of strings, even
! though we usually do not think of such lists as alists.
  
  @cindex obarray in completion
  If @var{collection} is an obarray (@pxref{Creating Symbols}), the names
--- 610,622 ----
  
  If @var{collection} is an alist (@pxref{Association Lists}), the
  permissible completions are the elements of the alist that are either
! strings, symbols, or conses whose @sc{car} is a string or symbol.
! Symbols are converted to strings using @code{symbol-name}.
! Other elements of the alist are ignored. (Remember that in Emacs Lisp,
! the elements of alists do not @emph{have} to be conses.)  As all
! elements of the alist can be strings, this case actually includes
! lists of strings or symbols, even though we usually do not think of
! such lists as alists.
  
  @cindex obarray in completion
  If @var{collection} is an obarray (@pxref{Creating Symbols}), the names




reply via email to

[Prev in Thread] Current Thread [Next in Thread]