summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2010-11-10 19:57:02 -0800
committerGlenn Morris <rgm@gnu.org>2010-11-10 19:57:02 -0800
commit55a4b4fe0377bfcb48c2f6f19f982cd4a70fa21d (patch)
tree45970c128829da3c92cb8eea8c697a3671264ca7 /lisp
parentb3e4c9115928174beaaa09bf6b1342a35440de4f (diff)
downloademacs-55a4b4fe0377bfcb48c2f6f19f982cd4a70fa21d.tar.gz
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.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog3
-rw-r--r--lisp/play/gomoku.el6
-rw-r--r--lisp/play/landmark.el6
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."