From: Karl Heuer Date: Tue, 25 Apr 1995 22:20:30 +0000 (+0000) Subject: (gomoku-display-statistics): Use force-mode-line-update. X-Git-Tag: emacs-19.34~4298 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1faea684f8f32fd81ff026bb450b706f8313304a;p=emacs.git (gomoku-display-statistics): Use force-mode-line-update. --- diff --git a/lisp/play/gomoku.el b/lisp/play/gomoku.el index 5bb0f110fef..b8feaf88cad 100644 --- a/lisp/play/gomoku.el +++ b/lisp/play/gomoku.el @@ -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."