From 55a4b4fe0377bfcb48c2f6f19f982cd4a70fa21d Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Wed, 10 Nov 2010 19:57:02 -0800 Subject: [PATCH] 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. --- lisp/ChangeLog | 3 +++ lisp/play/gomoku.el | 6 +----- lisp/play/landmark.el | 6 +----- 3 files changed, 5 insertions(+), 10 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 5738ef56df4..c16890bd8b2 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -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) diff --git a/lisp/play/gomoku.el b/lisp/play/gomoku.el index 81046c7c4c9..2c77aa62df1 100644 --- a/lisp/play/gomoku.el +++ b/lisp/play/gomoku.el @@ -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." diff --git a/lisp/play/landmark.el b/lisp/play/landmark.el index 2902187034a..e6a271caec2 100644 --- a/lisp/play/landmark.el +++ b/lisp/play/landmark.el @@ -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." -- 2.39.5