Remove odd code from kandmark, gomoku.
authorGlenn Morris <rgm@gnu.org>
Thu, 11 Nov 2010 03:57:02 +0000 (19:57 -0800)
committerGlenn Morris <rgm@gnu.org>
Thu, 11 Nov 2010 03:57:02 +0000 (19:57 -0800)
* lisp/play/landmark.el (lm-prompt-for-move):
* lisp/play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.

lisp/ChangeLog
lisp/play/gomoku.el
lisp/play/landmark.el

index 5738ef5..c16890b 100644 (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)
index 81046c7..2c77aa6 100644 (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."
index 2902187..e6a271c 100644 (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."