Mercurial > emacs
comparison lisp/find-file.el @ 63505:185136bab53f
(ff-search-directories, ff-special-constructs, ff-find-other-file): Fix spelling
in docstrings.
author | Juanma Barranquero <lekktu@gmail.com> |
---|---|
date | Thu, 16 Jun 2005 16:09:00 +0000 |
parents | 018ef6100fc5 |
children | 8c8961dafdc6 b7da78284d4c |
comparison
equal
deleted
inserted
replaced
63504:da31b0c1effe | 63505:185136bab53f |
---|---|
189 ("^\#\\s *\\(include\\|import\\)\\s +[<\"]\\(.*\\)[>\"]" . | 189 ("^\#\\s *\\(include\\|import\\)\\s +[<\"]\\(.*\\)[>\"]" . |
190 (lambda () | 190 (lambda () |
191 (setq fname (buffer-substring (match-beginning 2) (match-end 2))))) | 191 (setq fname (buffer-substring (match-beginning 2) (match-end 2))))) |
192 ) | 192 ) |
193 "*A list of regular expressions for `ff-find-file'. | 193 "*A list of regular expressions for `ff-find-file'. |
194 Specifies how to recognise special constructs such as include files | 194 Specifies how to recognize special constructs such as include files |
195 etc. and an associated method for extracting the filename from that | 195 etc. and an associated method for extracting the filename from that |
196 construct.") | 196 construct.") |
197 | 197 |
198 (defvaralias 'ff-related-file-alist 'ff-other-file-alist) | 198 (defvaralias 'ff-related-file-alist 'ff-other-file-alist) |
199 (defcustom ff-other-file-alist 'cc-other-file-alist | 199 (defcustom ff-other-file-alist 'cc-other-file-alist |
213 | 213 |
214 Set by default to `cc-search-directories', expanded at run-time. | 214 Set by default to `cc-search-directories', expanded at run-time. |
215 | 215 |
216 This list is searched through with each extension specified in | 216 This list is searched through with each extension specified in |
217 `ff-other-file-alist' that matches this file's extension. So the | 217 `ff-other-file-alist' that matches this file's extension. So the |
218 longer the list, the longer it'll take to realise that a file | 218 longer the list, the longer it'll take to realize that a file |
219 may not exist. | 219 may not exist. |
220 | 220 |
221 A typical format is | 221 A typical format is |
222 | 222 |
223 '(\".\" \"/usr/include\" \"$PROJECT/*/include\") | 223 '(\".\" \"/usr/include\" \"$PROJECT/*/include\") |
338 | 338 |
339 - `ff-quiet-mode' | 339 - `ff-quiet-mode' |
340 If non-nil, traces which directories are being searched. | 340 If non-nil, traces which directories are being searched. |
341 | 341 |
342 - `ff-special-constructs' | 342 - `ff-special-constructs' |
343 A list of regular expressions specifying how to recognise special | 343 A list of regular expressions specifying how to recognize special |
344 constructs such as include files etc, and an associated method for | 344 constructs such as include files etc, and an associated method for |
345 extracting the filename from that construct. | 345 extracting the filename from that construct. |
346 | 346 |
347 - `ff-other-file-alist' | 347 - `ff-other-file-alist' |
348 Alist of extensions to find given the current file's extension. | 348 Alist of extensions to find given the current file's extension. |