changeset 34338:f377d034ed4e

(glasses-mode): Update mode line at the end of the function.
author Gerd Moellmann <gerd@gnu.org>
date Thu, 07 Dec 2000 13:25:18 +0000
parents b7ae6305e6eb
children b00a4ef86bb4
files lisp/progmodes/glasses.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/progmodes/glasses.el	Thu Dec 07 13:22:12 2000 +0000
+++ b/lisp/progmodes/glasses.el	Thu Dec 07 13:25:18 2000 +0000
@@ -257,7 +257,6 @@
 					   'glasses-mode)
 			       'help-echo "mouse-2: turn off Glasses mode")))
 
-
 ;;;###autoload
 (defun glasses-mode (&optional arg)
   "Minor mode for making identifiers likeThis readable.
@@ -284,7 +283,8 @@
 	    (remove-hook 'after-change-functions 'glasses-change t)
 	    (remove-hook 'local-write-file-hooks
 			 'glasses-convert-to-unreadable t))))
-      (setq glasses-mode new-flag))))
+      (setq glasses-mode new-flag)
+      (force-mode-line-update))))
 
 
 ;;; Announce