changeset 62858:c23f28be371c

(which-func-update-1): Turn the mode off in case of error by setting which-func-mode.
author Richard M. Stallman <rms@gnu.org>
date Sun, 29 May 2005 08:31:54 +0000
parents 9f2d0e4a66d0
children c18eb4cd2ef7
files lisp/progmodes/which-func.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/progmodes/which-func.el	Sun May 29 08:28:51 2005 +0000
+++ b/lisp/progmodes/which-func.el	Sun May 29 08:31:54 2005 +0000
@@ -196,7 +196,7 @@
 	      (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