diff options
| author | Stephen Leake | 2015-09-15 14:40:49 -0500 |
|---|---|---|
| committer | Stephen Leake | 2015-09-15 14:44:46 -0500 |
| commit | 711a8eecd5f8abb46dbe6bafe10071ec0e58d85f (patch) | |
| tree | 7b9c40b950be3fc6b03476f39dd201b12a1cd906 /doc/lispref | |
| parent | b6a792bc623afacea9702f7ec3a35a56013f6c71 (diff) | |
| download | emacs-711a8eecd5f8abb46dbe6bafe10071ec0e58d85f.tar.gz emacs-711a8eecd5f8abb46dbe6bafe10071ec0e58d85f.zip | |
Fix a bug in elisp--xref-find-definitions related to cl-generic defaults
* lisp/progmodes/elisp-mode.el (elisp--xref-find-definitions): Fix bug
with cl-generic defaults.
(elisp--xref-find-references): Add doc string.
* test/automated/elisp-mode-tests.el (xref-elisp-generic-*): Improve
tests to find bug.
Diffstat (limited to 'doc/lispref')
| -rw-r--r-- | doc/lispref/files.texi | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/doc/lispref/files.texi b/doc/lispref/files.texi index 735e08eb324..edfb045a795 100644 --- a/doc/lispref/files.texi +++ b/doc/lispref/files.texi | |||
| @@ -2421,11 +2421,13 @@ the file, which in some cases may cause a security hole. | |||
| 2421 | This section describes low-level subroutines for completing a file | 2421 | This section describes low-level subroutines for completing a file |
| 2422 | name. For higher level functions, see @ref{Reading File Names}. | 2422 | name. For higher level functions, see @ref{Reading File Names}. |
| 2423 | 2423 | ||
| 2424 | @defun file-name-all-completions partial-filename directory | 2424 | @defun file-name-all-completions partial-filename directory &optional predicate |
| 2425 | This function returns a list of all possible completions for a file | 2425 | This function returns a list of all possible completions for a file in |
| 2426 | whose name starts with @var{partial-filename} in directory | 2426 | directory @var{directory} whose name starts with |
| 2427 | @var{directory}. The order of the completions is the order of the files | 2427 | @var{partial-filename} and for which @var{predicate} (called with the |
| 2428 | in the directory, which is unpredictable and conveys no useful | 2428 | filename) returns non-nil. If @var{predicate} is nil (the default), it |
| 2429 | is ignored. The order of the completions is the order of the files in | ||
| 2430 | the directory, which is unpredictable and conveys no useful | ||
| 2429 | information. | 2431 | information. |
| 2430 | 2432 | ||
| 2431 | The argument @var{partial-filename} must be a file name containing no | 2433 | The argument @var{partial-filename} must be a file name containing no |