1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-19 18:13:55 +00:00

(completion-styles-alist): Fix up last merge and document `substring'.

This commit is contained in:
Stefan Monnier 2010-04-19 14:33:11 -04:00
parent 87926e02dc
commit 56d365a93d

View File

@ -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.