diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2013-01-14 23:20:13 -0500 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2013-01-14 23:20:13 -0500 |
commit | 6e8cd0aecac332675ea1a700c7e3db3d48f62c15 (patch) | |
tree | 835cda8971e3df9ce318e44ca4c860c18c6d20db /lisp/progmodes/which-func.el | |
parent | 4586ce8a594f3627f2451f49712911049642d91e (diff) | |
download | emacs-6e8cd0aecac332675ea1a700c7e3db3d48f62c15.tar.gz |
* lisp/progmodes/which-func.el (which-function): Silence imenu errors.
Fixes: debbugs:13433
Diffstat (limited to 'lisp/progmodes/which-func.el')
-rw-r--r-- | lisp/progmodes/which-func.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/progmodes/which-func.el b/lisp/progmodes/which-func.el index adf378f6bc7..edfe368479c 100644 --- a/lisp/progmodes/which-func.el +++ b/lisp/progmodes/which-func.el @@ -290,7 +290,7 @@ If no function name is found, return nil." (when (and (null name) (boundp 'imenu--index-alist) (null imenu--index-alist) (null which-function-imenu-failed)) - (imenu--make-index-alist t) + (ignore-errors (imenu--make-index-alist t)) (unless imenu--index-alist (set (make-local-variable 'which-function-imenu-failed) t))) ;; If we have an index alist, use it. |