From: Dmitry Gutov Date: Sat, 27 Dec 2014 23:54:43 +0000 (+0200) Subject: (elisp--xref-identifier-file): Skip features that have no sources X-Git-Tag: emacs-25.0.90~2631^2~15^2~5 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=968d096203fd900c8497ed455cd2682f9875448f;p=emacs.git (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. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 2c5a9c4a3cd..7678116f576 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,8 @@ 2014-12-27 Dmitry Gutov + * 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. diff --git a/lisp/progmodes/elisp-mode.el b/lisp/progmodes/elisp-mode.el index 347560a484e..ac216d99cce 100644 --- a/lisp/progmodes/elisp-mode.el +++ b/lisp/progmodes/elisp-mode.el @@ -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)))))