[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Patch: minor blackbox.el fix

From: Tom Tromey
Subject: Re: Patch: minor blackbox.el fix
Date: Tue, 08 Jan 2008 17:47:41 -0700
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.990 (gnu/linux)

GM> (define-key map [return] 'bb-done)
GM> be better than adding a binding for newline-and-indent?

I neglected to send the updated patch.
Here it is.


2008-01-08  Tom Tromey  <address@hidden>

        * play/blackbox.el (blackbox-mode-map): Bind [return] and "q".

Index: lisp/play/blackbox.el
RCS file: /sources/emacs/emacs/lisp/play/blackbox.el,v
retrieving revision 1.28
diff -u -r1.28 blackbox.el
--- lisp/play/blackbox.el       8 Jan 2008 20:44:08 -0000       1.28
+++ lisp/play/blackbox.el       9 Jan 2008 01:18:27 -0000
@@ -107,6 +107,8 @@
     (blackbox-redefine-key map 'move-beginning-of-line 'bb-bol)
     (define-key map " " 'bb-romp)
     (define-key map [insert] 'bb-romp)
+    (define-key map "q" 'bury-buffer)
+    (define-key map [return] 'bb-done)
     (blackbox-redefine-key map 'newline 'bb-done)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]