From: Glenn Morris <rgm@gnu.org>
Date: Wed, 9 Jan 2008 04:18:27 +0000 (+0000)
Subject: Tom Tromey  <tromey at redhat.com>
X-Git-Tag: emacs-pretest-23.0.90~8635
X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c14bb1fb7c692bd466ea09132b2711ecda37931f;p=emacs.git

Tom Tromey  <tromey at redhat.com>

(blackbox-mode-map): Add `q' and [return] bindings.
---

diff --git a/lisp/play/blackbox.el b/lisp/play/blackbox.el
index e54dad675a8..f8ed471beb7 100644
--- a/lisp/play/blackbox.el
+++ b/lisp/play/blackbox.el
@@ -106,7 +106,9 @@
     (blackbox-redefine-key map 'move-end-of-line 'bb-eol)
     (blackbox-redefine-key map 'move-beginning-of-line 'bb-bol)
     (define-key map " " 'bb-romp)
+    (define-key map "q" 'bury-buffer)
     (define-key map [insert] 'bb-romp)
+    (define-key map [return] 'bb-done)
     (blackbox-redefine-key map 'newline 'bb-done)
     map))