diff options
| author | Glenn Morris | 2010-11-10 19:57:02 -0800 |
|---|---|---|
| committer | Glenn Morris | 2010-11-10 19:57:02 -0800 |
| commit | 55a4b4fe0377bfcb48c2f6f19f982cd4a70fa21d (patch) | |
| tree | 45970c128829da3c92cb8eea8c697a3671264ca7 | |
| parent | b3e4c9115928174beaaa09bf6b1342a35440de4f (diff) | |
| download | emacs-55a4b4fe0377bfcb48c2f6f19f982cd4a70fa21d.tar.gz emacs-55a4b4fe0377bfcb48c2f6f19f982cd4a70fa21d.zip | |
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.
| -rw-r--r-- | lisp/ChangeLog | 3 | ||||
| -rw-r--r-- | lisp/play/gomoku.el | 6 | ||||
| -rw-r--r-- | 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 @@ | |||
| 2 | 2 | ||
| 3 | * obsolete/lucid.el: Don't warn about any CL functions in this file. | 3 | * obsolete/lucid.el: Don't warn about any CL functions in this file. |
| 4 | 4 | ||
| 5 | * play/landmark.el (lm-prompt-for-move): | ||
| 6 | * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code. | ||
| 7 | |||
| 5 | * progmodes/idlw-complete-structtag.el: Remove unused dec `name'. | 8 | * progmodes/idlw-complete-structtag.el: Remove unused dec `name'. |
| 6 | 9 | ||
| 7 | * progmodes/idlwave.el (idlwave-routine-entry-compare-twins) | 10 | * 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." | |||
| 929 | "Display a message asking for Human's move." | 929 | "Display a message asking for Human's move." |
| 930 | (message (if (zerop gomoku-number-of-human-moves) | 930 | (message (if (zerop gomoku-number-of-human-moves) |
| 931 | "Your move? (Move to a free square and hit X, RET ...)" | 931 | "Your move? (Move to a free square and hit X, RET ...)" |
| 932 | "Your move?")) | 932 | "Your move?"))) |
| 933 | ;; This may seem silly, but if one omits the following line (or a similar | ||
| 934 | ;; one), the cursor may very well go to some place where POINT is not. | ||
| 935 | ;; FIXME: this can't be right!! --Stef | ||
| 936 | (save-excursion (set-buffer (other-buffer)))) | ||
| 937 | 933 | ||
| 938 | (defun gomoku-prompt-for-other-game () | 934 | (defun gomoku-prompt-for-other-game () |
| 939 | "Ask for another game, and start it." | 935 | "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." | |||
| 826 | "Display a message asking for Human's move." | 826 | "Display a message asking for Human's move." |
| 827 | (message (if (zerop lm-number-of-human-moves) | 827 | (message (if (zerop lm-number-of-human-moves) |
| 828 | "Your move? (move to a free square and hit X, RET ...)" | 828 | "Your move? (move to a free square and hit X, RET ...)" |
| 829 | "Your move?")) | 829 | "Your move?"))) |
| 830 | ;; This may seem silly, but if one omits the following line (or a similar | ||
| 831 | ;; one), the cursor may very well go to some place where POINT is not. | ||
| 832 | ;; FIXME: this can't be right!! --Stef | ||
| 833 | (save-excursion (set-buffer (other-buffer)))) | ||
| 834 | 830 | ||
| 835 | (defun lm-prompt-for-other-game () | 831 | (defun lm-prompt-for-other-game () |
| 836 | "Ask for another game, and start it." | 832 | "Ask for another game, and start it." |