(elisp--xref-identifier-file): Skip features that have no sources
* lisp/progmodes/elisp-mode.el (elisp--xref-identifier-file): Skip features that have no sources.
This commit is contained in:
parent
ee01a8c05b
commit
968d096203
2 changed files with 5 additions and 1 deletions
|
@ -1,5 +1,8 @@
|
|||
2014-12-27 Dmitry Gutov <dgutov@yandex.ru>
|
||||
|
||||
* progmodes/elisp-mode.el (elisp--xref-identifier-file):
|
||||
Skip features that have no sources.
|
||||
|
||||
* simple.el (execute-extended-command):
|
||||
When `suggest-key-bindings' is nil, don't.
|
||||
|
||||
|
|
|
@ -578,7 +578,8 @@ It can be quoted, or be inside a quoted form."
|
|||
(or (symbol-file sym 'defvar)
|
||||
(help-C-file-name sym 'var))))
|
||||
(`feature (when (featurep sym)
|
||||
(find-library-name (symbol-name sym))))
|
||||
(ignore-errors
|
||||
(find-library-name (symbol-name sym)))))
|
||||
(`defface (when (facep sym)
|
||||
(symbol-file sym 'defface)))))
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue