# HG changeset patch # User Karl Heuer # Date 798848430 0 # Node ID d90395d3b0ad071dcfbbc7177fab3348c86ff2ed # Parent 33f97b477bad035efb28ab76c6b3d54e1b98e093 (gomoku-display-statistics): Use force-mode-line-update. diff -r 33f97b477bad -r d90395d3b0ad lisp/play/gomoku.el --- a/lisp/play/gomoku.el Tue Apr 25 22:17:55 1995 +0000 +++ b/lisp/play/gomoku.el Tue Apr 25 22:20:30 1995 +0000 @@ -968,8 +968,7 @@ (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."