diff options
-rw-r--r-- | lisp/play/gomoku.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/play/gomoku.el b/lisp/play/gomoku.el index 4c7620f5705..5d2e0e8e147 100644 --- a/lisp/play/gomoku.el +++ b/lisp/play/gomoku.el @@ -950,7 +950,7 @@ If the game is finished, this command requests for another game." (defun gomoku-init-display (n m) "Display an N by M Gomoku board." - (buffer-flush-undo (current-buffer)) + (buffer-disable-undo (current-buffer)) (if buffer-read-only (toggle-read-only)) (erase-buffer) (let (string1 string2 string3 string4) |