1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-23 18:47:57 +00:00

Remove odd code from kandmark, gomoku.

* lisp/play/landmark.el (lm-prompt-for-move):
* lisp/play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
This commit is contained in:
Glenn Morris 2010-11-10 19:57:02 -08:00
parent b3e4c91159
commit 55a4b4fe03
3 changed files with 5 additions and 10 deletions

View File

@ -2,6 +2,9 @@
* obsolete/lucid.el: Don't warn about any CL functions in this file.
* play/landmark.el (lm-prompt-for-move):
* play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
* progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
* progmodes/idlwave.el (idlwave-routine-entry-compare-twins)

View File

@ -929,11 +929,7 @@ If the game is finished, this command requests for another game."
"Display a message asking for Human's move."
(message (if (zerop gomoku-number-of-human-moves)
"Your move? (Move to a free square and hit X, RET ...)"
"Your move?"))
;; This may seem silly, but if one omits the following line (or a similar
;; one), the cursor may very well go to some place where POINT is not.
;; FIXME: this can't be right!! --Stef
(save-excursion (set-buffer (other-buffer))))
"Your move?")))
(defun gomoku-prompt-for-other-game ()
"Ask for another game, and start it."

View File

@ -826,11 +826,7 @@ If the game is finished, this command requests for another game."
"Display a message asking for Human's move."
(message (if (zerop lm-number-of-human-moves)
"Your move? (move to a free square and hit X, RET ...)"
"Your move?"))
;; This may seem silly, but if one omits the following line (or a similar
;; one), the cursor may very well go to some place where POINT is not.
;; FIXME: this can't be right!! --Stef
(save-excursion (set-buffer (other-buffer))))
"Your move?")))
(defun lm-prompt-for-other-game ()
"Ask for another game, and start it."