changeset 98374:78848db62e02

(solitaire-mode-map): Bind "\r" rather than [return]. (Bug#1031)
author Glenn Morris <rgm@gnu.org>
date Sat, 27 Sep 2008 20:05:46 +0000
parents 22fae224d899
children d48b8be5ebf4
files lisp/play/solitaire.el
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/play/solitaire.el	Sat Sep 27 19:58:53 2008 +0000
+++ b/lisp/play/solitaire.el	Sat Sep 27 20:05:46 2008 +0000
@@ -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)