Mercurial > emacs
changeset 21098:c5a14d40e00e
(solitaire-quit): Function deleted.
(solitaire-mode-map): Use quit-window for q.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sun, 08 Mar 1998 00:22:53 +0000 |
parents | eb3dc7ea93c2 |
children | 440d5927ef18 |
files | lisp/play/solitaire.el |
diffstat | 1 files changed, 1 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/play/solitaire.el Sun Mar 08 00:22:03 1998 +0000 +++ b/lisp/play/solitaire.el Sun Mar 08 00:22:53 1998 +0000 @@ -48,7 +48,7 @@ (substitute-key-definition 'undo 'solitaire-undo solitaire-mode-map global-map) (define-key solitaire-mode-map " " 'solitaire-do-check) - (define-key solitaire-mode-map "q" 'solitaire-quit) + (define-key solitaire-mode-map "q" 'quit-window) (define-key solitaire-mode-map [right] 'solitaire-right) (define-key solitaire-mode-map [left] 'solitaire-left) @@ -416,11 +416,6 @@ (if (= (current-column) 0) 1 0) -1)) -(defun solitaire-quit () - "Quit playing Solitaire." - (interactive) - (kill-buffer "*Solitaire*")) - ;; And here's the spoiler:) (defun solitaire-solve () "Spoil solitaire by solving the game for you - nearly ...