diff options
author | Richard M. Stallman <[email protected]> | 2005-05-29 08:31:54 +0000 |
---|---|---|
committer | Richard M. Stallman <[email protected]> | 2005-05-29 08:31:54 +0000 |
commit | 7d2026d5184a6297ed6e6ea012a19a2bd482929c (patch) | |
tree | 965a4fa9ffbfcd5ad2deb1ff113b694407bb74f0 | |
parent | 801f0dc37d6c930ff63ef9573bcea63a117facd9 (diff) |
(which-func-update-1): Turn the mode
off in case of error by setting which-func-mode.
-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 d329e23402..1fa37532ab 100644 --- a/lisp/progmodes/which-func.el +++ b/lisp/progmodes/which-func.el @@ -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 |