From 1faea684f8f32fd81ff026bb450b706f8313304a Mon Sep 17 00:00:00 2001 From: Karl Heuer <kwzh@gnu.org> Date: Tue, 25 Apr 1995 22:20:30 +0000 Subject: (gomoku-display-statistics): Use force-mode-line-update. --- lisp/play/gomoku.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lisp') 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." -- cgit v1.2.1