From e64c74f219cd2376f6a62e1b5800b17a86c818a0 Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Sat, 27 Sep 2008 20:05:56 +0000 Subject: [PATCH] (solitaire-mode-map): Bind "\r" rather than [return]. (Bug#1031) --- lisp/ChangeLog | 5 +++++ lisp/play/solitaire.el | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 148e6558b18..beea2461021 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2008-09-27 Glenn Morris + + * play/solitaire.el (solitaire-mode-map): Bind "\r" rather + than [return]. (Bug#1031) + 2008-09-27 Peter Dyballa * calendar/calendar.el (solar-sunrises-buffer): Fix typo. 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 ;; 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) -- 2.39.5