[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#12771: 24.2.50; Gomoku displays statistics in other buffers
From: |
Chong Yidong |
Subject: |
bug#12771: 24.2.50; Gomoku displays statistics in other buffers |
Date: |
Thu, 01 Nov 2012 10:25:50 +0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux) |
Stephen Berman <stephen.berman@gmx.net> writes:
> As a result of killing the *Gomoku* buffer in step 3, the gomoku command
> in step 4 tests gomoku-game-in-progress, and because its value is still
> t (since the game was not finished), gomoku-terminate-game is called,
> which in turn calls gomoku-display-statistics, which changes the mode
> line of the current buffer, which is still *scratch* here. The patch
> below prevents this by ensuring the mode line is only changed if the
> *Gomoku* buffer is current.
Committed, thanks.