diff options
| author | Richard M. Stallman | 2005-05-29 08:31:54 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2005-05-29 08:31:54 +0000 |
| commit | 7d2026d5184a6297ed6e6ea012a19a2bd482929c (patch) | |
| tree | 965a4fa9ffbfcd5ad2deb1ff113b694407bb74f0 | |
| parent | 801f0dc37d6c930ff63ef9573bcea63a117facd9 (diff) | |
| download | emacs-7d2026d5184a6297ed6e6ea012a19a2bd482929c.tar.gz emacs-7d2026d5184a6297ed6e6ea012a19a2bd482929c.zip | |
(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 d329e234025..1fa37532ab0 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." | |||
| 196 | (puthash window current which-func-table) | 196 | (puthash window current which-func-table) |
| 197 | (force-mode-line-update))) | 197 | (force-mode-line-update))) |
| 198 | (error | 198 | (error |
| 199 | (which-func-mode -1) | 199 | (setq which-func-mode nil) |
| 200 | (error "Error in which-func-update: %s" info)))))) | 200 | (error "Error in which-func-update: %s" info)))))) |
| 201 | 201 | ||
| 202 | ;;;###autoload | 202 | ;;;###autoload |