Commit 968d0962 authored by Dmitry Gutov's avatar Dmitry Gutov

(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.
parent ee01a8c0
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)))))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment