changeset 107983:781bff25a517

(completion-styles-alist): Fix up last merge and document `substring'.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Mon, 19 Apr 2010 14:33:11 -0400
parents 6c19884e68b9
children bef5d1738c0b 9247fef2ee7f
files lisp/minibuffer.el
diffstat 1 files changed, 6 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/minibuffer.el	Mon Apr 19 13:05:12 2010 -0400
+++ b/lisp/minibuffer.el	Mon Apr 19 14:33:11 2010 -0400
@@ -402,14 +402,17 @@
      "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.