aboutsummaryrefslogtreecommitdiffstats
path: root/doc/lispref
diff options
context:
space:
mode:
authorStephen Leake2015-09-15 14:40:49 -0500
committerStephen Leake2015-09-15 14:44:46 -0500
commit711a8eecd5f8abb46dbe6bafe10071ec0e58d85f (patch)
tree7b9c40b950be3fc6b03476f39dd201b12a1cd906 /doc/lispref
parentb6a792bc623afacea9702f7ec3a35a56013f6c71 (diff)
downloademacs-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.texi12
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
2422name. For higher level functions, see @ref{Reading File Names}. 2422name. 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
2425This function returns a list of all possible completions for a file 2425This function returns a list of all possible completions for a file in
2426whose name starts with @var{partial-filename} in directory 2426directory @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
2428in the directory, which is unpredictable and conveys no useful 2428filename) returns non-nil. If @var{predicate} is nil (the default), it
2429is ignored. The order of the completions is the order of the files in
2430the directory, which is unpredictable and conveys no useful
2429information. 2431information.
2430 2432
2431The argument @var{partial-filename} must be a file name containing no 2433The argument @var{partial-filename} must be a file name containing no