# HG changeset patch # User Richard M. Stallman # Date 1117355514 0 # Node ID c23f28be371cb3ccd9d717fb79d8c2773f9bed3a # Parent 9f2d0e4a66d0cff955b9d0fb206dc0c6509c2309 (which-func-update-1): Turn the mode off in case of error by setting which-func-mode. diff -r 9f2d0e4a66d0 -r c23f28be371c lisp/progmodes/which-func.el --- 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