Commit 7d2026d5 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(which-func-update-1): Turn the mode

off in case of error by setting which-func-mode.
parent 801f0dc3
......@@ -196,7 +196,7 @@ It creates the Imenu index for the buffer, if necessary."
(puthash window current which-func-table)
(force-mode-line-update)))
(error
(which-func-mode -1)
(setq which-func-mode nil)
(error "Error in which-func-update: %s" info))))))
;;;###autoload
......
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