changeset 111488:721dbc4f6c02

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.
author Glenn Morris <rgm@gnu.org>
date Wed, 10 Nov 2010 19:57:02 -0800
parents 26c73acc214b
children 175c03267666
files lisp/ChangeLog lisp/play/gomoku.el lisp/play/landmark.el
diffstat 3 files changed, 5 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Wed Nov 10 19:54:59 2010 -0800
+++ b/lisp/ChangeLog	Wed Nov 10 19:57:02 2010 -0800
@@ -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)
--- a/lisp/play/gomoku.el	Wed Nov 10 19:54:59 2010 -0800
+++ b/lisp/play/gomoku.el	Wed Nov 10 19:57:02 2010 -0800
@@ -929,11 +929,7 @@
   "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."
--- a/lisp/play/landmark.el	Wed Nov 10 19:54:59 2010 -0800
+++ b/lisp/play/landmark.el	Wed Nov 10 19:57:02 2010 -0800
@@ -826,11 +826,7 @@
   "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."