]> git.eshelyaron.com Git - emacs.git/commitdiff
(gomoku-display-statistics): Use force-mode-line-update.
authorKarl Heuer <kwzh@gnu.org>
Tue, 25 Apr 1995 22:20:30 +0000 (22:20 +0000)
committerKarl Heuer <kwzh@gnu.org>
Tue, 25 Apr 1995 22:20:30 +0000 (22:20 +0000)
lisp/play/gomoku.el

index 5bb0f110fef49a95d8b9b140bc5586f6d2f6f7df..b8feaf88cad72decd36cdbba8c993f834b2286e3 100644 (file)
@@ -968,8 +968,7 @@ If the game is finished, this command requests for another game."
          (format ": Won %d, lost %d"
                  gomoku-number-of-human-wins
                  gomoku-number-of-emacs-wins))))
-  ;; Then a (standard) kludgy line will force update of mode line.
-  (set-buffer-modified-p (buffer-modified-p)))
+  (force-mode-line-update))
 
 (defun gomoku-switch-to-window ()
   "Find or create the Gomoku buffer, and display it."