changeset 8122:2fae14e8ae5d

(electric-buffer-list): Change prompt message. (electric-buffer-menu-mode-map): Define C-m like space.
author Richard M. Stallman <rms@gnu.org>
date Sat, 02 Jul 1994 17:01:41 +0000
parents cf243e9e63f8
children 0c56ff6c4742
files lisp/ebuff-menu.el
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ebuff-menu.el	Sat Jul 02 16:55:54 1994 +0000
+++ b/lisp/ebuff-menu.el	Sat Jul 02 17:01:41 1994 +0000
@@ -63,7 +63,7 @@
 	    (Electric-buffer-menu-mode)
 	    (setq select
 		  (catch 'electric-buffer-menu-select
-		    (message "<<< Press Space to bury the buffer list >>>")
+		    (message "<<< Press Return to bury the buffer list >>>")
 		    (if (eq (setq unread-command-events (list (read-event)))
 			    ?\ )
 			(progn (setq unread-command-events nil)
@@ -165,6 +165,7 @@
     (define-key map "\C-]" 'Electric-buffer-menu-quit)
     (define-key map "q" 'Electric-buffer-menu-quit)
     (define-key map " " 'Electric-buffer-menu-select)
+    (define-key map "\C-m" 'Electric-buffer-menu-select)
     (define-key map "\C-l" 'recenter)
     (define-key map "s" 'Buffer-menu-save)
     (define-key map "d" 'Buffer-menu-delete)