aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric S. Raymond1992-08-03 20:57:38 +0000
committerEric S. Raymond1992-08-03 20:57:38 +0000
commitcd5e3fae77409adefad2ec1041020f6e03679c38 (patch)
treeb829f9261ae6b63d52c16c6b8ae8f833de0507e6
parent0d4ee84900adb489c6fbc1d7ddd6b25f8fb2c515 (diff)
downloademacs-cd5e3fae77409adefad2ec1041020f6e03679c38.tar.gz
emacs-cd5e3fae77409adefad2ec1041020f6e03679c38.zip
*** empty log message ***
-rw-r--r--lisp/ebuff-menu.el7
1 files changed, 5 insertions, 2 deletions
diff --git a/lisp/ebuff-menu.el b/lisp/ebuff-menu.el
index 6b5a8b6fc56..8a0c469f938 100644
--- a/lisp/ebuff-menu.el
+++ b/lisp/ebuff-menu.el
@@ -29,6 +29,9 @@
29 29
30(require 'electric) 30(require 'electric)
31 31
32(defvar help-key "\C-h"
33 "*Key used to invoke electric help.")
34
32;; this depends on the format of list-buffers (from src/buffer.c) and 35;; this depends on the format of list-buffers (from src/buffer.c) and
33;; on stuff in lisp/buff-menu.el 36;; on stuff in lisp/buff-menu.el
34 37
@@ -156,7 +159,7 @@ electric-buffer-menu-mode-hook if it is non-nil."
156 (fillarray (lookup-key map "\e") 'Electric-buffer-menu-undefined) 159 (fillarray (lookup-key map "\e") 'Electric-buffer-menu-undefined)
157 (define-key map "\C-z" 'suspend-emacs) 160 (define-key map "\C-z" 'suspend-emacs)
158 (define-key map "v" 'Electric-buffer-menu-mode-view-buffer) 161 (define-key map "v" 'Electric-buffer-menu-mode-view-buffer)
159 (define-key map "\C-h" 'Helper-help) 162 (define-key map help-key 'Helper-help)
160 (define-key map "?" 'Helper-describe-bindings) 163 (define-key map "?" 'Helper-describe-bindings)
161 (define-key map "\C-c" nil) 164 (define-key map "\C-c" nil)
162 (define-key map "\C-c\C-c" 'Electric-buffer-menu-quit) 165 (define-key map "\C-c\C-c" 'Electric-buffer-menu-quit)
@@ -221,7 +224,7 @@ Does not execute select, save, or delete commands."
221 (ding) 224 (ding)
222 (message (if (and (eq (key-binding "\C-c\C-c") 'Electric-buffer-menu-quit) 225 (message (if (and (eq (key-binding "\C-c\C-c") 'Electric-buffer-menu-quit)
223 (eq (key-binding " ") 'Electric-buffer-menu-select) 226 (eq (key-binding " ") 'Electric-buffer-menu-select)
224 (eq (key-binding "\C-h") 'Helper-help) 227 (eq (key-binding help-key) 'Helper-help)
225 (eq (key-binding "?") 'Helper-describe-bindings)) 228 (eq (key-binding "?") 'Helper-describe-bindings))
226 "Type C-c C-c to exit, Space to select, C-h for help, ? for commands" 229 "Type C-c C-c to exit, Space to select, C-h for help, ? for commands"
227 (substitute-command-keys "\ 230 (substitute-command-keys "\