Mercurial > emacs
comparison lisp/complete.el @ 24507:2a7aa9cd6a19
(partial-completion-mode): Doc fix.
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Sun, 21 Mar 1999 07:26:47 +0000 |
parents | 9ffaa505edc7 |
children | ce83f341af6f |
comparison
equal
deleted
inserted
replaced
24506:219c99669e4b | 24507:2a7aa9cd6a19 |
---|---|
108 "Toggle Partial Completion mode. | 108 "Toggle Partial Completion mode. |
109 When Partial Completion mode is enabled, TAB (or M-TAB if `PC-meta-flag' is | 109 When Partial Completion mode is enabled, TAB (or M-TAB if `PC-meta-flag' is |
110 nil) is enhanced so that if some string is divided into words and each word is | 110 nil) is enhanced so that if some string is divided into words and each word is |
111 delimited by a character in `PC-word-delimiters', partial words are completed | 111 delimited by a character in `PC-word-delimiters', partial words are completed |
112 as much as possible and `*' characters are treated likewise in file names. | 112 as much as possible and `*' characters are treated likewise in file names. |
113 You must modify via \\[customize] for this variable to have an effect." | 113 You must modify via \\[customize] for this variable to have an effect; |
114 but also see the function `partial-completion-mode'." | |
114 :set (lambda (symbol value) | 115 :set (lambda (symbol value) |
115 (partial-completion-mode (or value 0))) | 116 (partial-completion-mode (or value 0))) |
116 :initialize 'custom-initialize-default | 117 :initialize 'custom-initialize-default |
117 :type 'boolean | 118 :type 'boolean |
118 :group 'partial-completion | 119 :group 'partial-completion |
177 When Partial Completion mode is enabled, TAB (or M-TAB if `PC-meta-flag' is | 178 When Partial Completion mode is enabled, TAB (or M-TAB if `PC-meta-flag' is |
178 nil) is enhanced so that if some string is divided into words and each word is | 179 nil) is enhanced so that if some string is divided into words and each word is |
179 delimited by a character in `PC-word-delimiters', partial words are completed | 180 delimited by a character in `PC-word-delimiters', partial words are completed |
180 as much as possible. | 181 as much as possible. |
181 | 182 |
182 For example, M-x p-c-b expands to M-x partial-completion-mode since no other | 183 For example, M-x p-c-m expands to M-x partial-completion-mode since no other |
183 command begins with that sequence of characters, and | 184 command begins with that sequence of characters, and |
184 \\[find-file] f_b.c TAB might complete to foo_bar.c if that file existed and no | 185 \\[find-file] f_b.c TAB might complete to foo_bar.c if that file existed and no |
185 other file in that directory begin with that sequence of characters. | 186 other file in that directory begin with that sequence of characters. |
186 | 187 |
187 Unless `PC-disable-wildcards' is non-nil, the \"*\" wildcard is interpreted | 188 Unless `PC-disable-wildcards' is non-nil, the \"*\" wildcard is interpreted |
188 specially when entering file or directory names. For example, | 189 specially when entering file or directory names. For example, |
189 \\[find-file] *.c RET finds each C file in the currenty directory, and | 190 \\[find-file] *.c RET finds each C file in the current directory, and |
190 \\[find-file] */foo_bar.c TAB completes the directory name as far as possible. | 191 \\[find-file] */foo_bar.c TAB completes the directory name as far as possible. |
191 | 192 |
192 Unless `PC-disable-includes' is non-nil, the \"<...>\" sequence is interpreted | 193 Unless `PC-disable-includes' is non-nil, the \"<...>\" sequence is interpreted |
193 specially in \\[find-file]. For example, | 194 specially in \\[find-file]. For example, |
194 \\[find-file] <sys/time.h> RET finds the file /usr/include/sys/time.h. | 195 \\[find-file] <sys/time.h> RET finds the file /usr/include/sys/time.h. |