From: Stefan Monnier Date: Mon, 19 Apr 2010 18:33:11 +0000 (-0400) Subject: (completion-styles-alist): Fix up last merge and document `substring'. X-Git-Tag: emacs-pretest-24.0.90~104^2~275^2~438^2~475^2~1 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=56d365a93da3c6b439998c251e9f01c73791f4b2;p=emacs.git (completion-styles-alist): Fix up last merge and document `substring'. --- diff --git a/lisp/minibuffer.el b/lisp/minibuffer.el index c7d0d1c3a0c..2730350c3df 100644 --- a/lisp/minibuffer.el +++ b/lisp/minibuffer.el @@ -402,14 +402,17 @@ pattern \"foo*bar*\".") "Completion of multiple words, each one taken as a prefix. I.e. when completing \"l-co_h\" (where _ is the position of point), it will consider all completions candidates matching the glob - (substring - completion-substring-try-completion completion-substring-all-completions - "Completion of the string taken as a substring.") pattern \"l*-co*h*\". Furthermore, for completions that are done step by step in subfields, the method is applied to all the preceding fields that do not yet match. E.g. C-x C-f /u/mo/s TAB could complete to /usr/monnier/src. Additionally the user can use the char \"*\" as a glob pattern.") + (substring + completion-substring-try-completion completion-substring-all-completions + "Completion of the string taken as a substring. +I.e. when completing \"foo_bar\" (where _ is the position of point), +it will consider all completions candidates matching the glob +pattern \"*foo*bar*\".") (initials completion-initials-try-completion completion-initials-all-completions "Completion of acronyms and initialisms.