summaryrefslogtreecommitdiff
path: root/lisp/play
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2008-09-27 20:05:56 +0000
committerGlenn Morris <rgm@gnu.org>2008-09-27 20:05:56 +0000
commite64c74f219cd2376f6a62e1b5800b17a86c818a0 (patch)
tree1f8f983263ebca482b1b8fa23a13a6eef61bcaac /lisp/play
parentf4498b9e4fd731e2d3c524a6cdf967a4834ef040 (diff)
downloademacs-e64c74f219cd2376f6a62e1b5800b17a86c818a0.tar.gz
(solitaire-mode-map): Bind "\r" rather than [return]. (Bug#1031)
Diffstat (limited to 'lisp/play')
-rw-r--r--lisp/play/solitaire.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/play/solitaire.el b/lisp/play/solitaire.el
index c6ee9b62c3c..dd723b8e41f 100644
--- a/lisp/play/solitaire.el
+++ b/lisp/play/solitaire.el
@@ -1,7 +1,7 @@
;;; solitaire.el --- game of solitaire in Emacs Lisp
-;; Copyright (C) 1994, 2001, 2002, 2003, 2004, 2005,
-;; 2006, 2007, 2008 Free Software Foundation, Inc.
+;; Copyright (C) 1994, 2001, 2002, 2003, 2004, 2005, 2006, 2007,
+;; 2008 Free Software Foundation, Inc.
;; Author: Jan Schormann <Jan.Schormann@rechen-gilde.de>
;; Created: Fri afternoon, Jun 3, 1994
@@ -50,7 +50,7 @@
(define-key map "\C-b" 'solitaire-left)
(define-key map "\C-p" 'solitaire-up)
(define-key map "\C-n" 'solitaire-down)
- (define-key map [return] 'solitaire-move)
+ (define-key map "\r" 'solitaire-move)
(define-key map [remap undo] 'solitaire-undo)
(define-key map " " 'solitaire-do-check)
(define-key map "q" 'quit-window)