Mercurial > emacs
comparison lisp/play/gomoku.el @ 11560:d90395d3b0ad
(gomoku-display-statistics): Use force-mode-line-update.
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Tue, 25 Apr 1995 22:20:30 +0000 |
parents | 09392b4de856 |
children | 08ad51d6c210 |
comparison
equal
deleted
inserted
replaced
11559:33f97b477bad | 11560:d90395d3b0ad |
---|---|
966 gomoku-number-of-draws)) | 966 gomoku-number-of-draws)) |
967 (t | 967 (t |
968 (format ": Won %d, lost %d" | 968 (format ": Won %d, lost %d" |
969 gomoku-number-of-human-wins | 969 gomoku-number-of-human-wins |
970 gomoku-number-of-emacs-wins)))) | 970 gomoku-number-of-emacs-wins)))) |
971 ;; Then a (standard) kludgy line will force update of mode line. | 971 (force-mode-line-update)) |
972 (set-buffer-modified-p (buffer-modified-p))) | |
973 | 972 |
974 (defun gomoku-switch-to-window () | 973 (defun gomoku-switch-to-window () |
975 "Find or create the Gomoku buffer, and display it." | 974 "Find or create the Gomoku buffer, and display it." |
976 (interactive) | 975 (interactive) |
977 (let ((buff (get-buffer "*Gomoku*"))) | 976 (let ((buff (get-buffer "*Gomoku*"))) |