# HG changeset patch # User Eric S. Raymond # Date 712875458 0 # Node ID a50a10722208732f6e92339bb93976ec58749ec8 # Parent 3122c9756a56113503857ca07a979c44ea295222 *** empty log message *** diff -r 3122c9756a56 -r a50a10722208 lisp/ebuff-menu.el --- a/lisp/ebuff-menu.el Mon Aug 03 19:20:08 1992 +0000 +++ b/lisp/ebuff-menu.el Mon Aug 03 20:57:38 1992 +0000 @@ -29,6 +29,9 @@ (require 'electric) +(defvar help-key "\C-h" + "*Key used to invoke electric help.") + ;; this depends on the format of list-buffers (from src/buffer.c) and ;; on stuff in lisp/buff-menu.el @@ -156,7 +159,7 @@ (fillarray (lookup-key map "\e") 'Electric-buffer-menu-undefined) (define-key map "\C-z" 'suspend-emacs) (define-key map "v" 'Electric-buffer-menu-mode-view-buffer) - (define-key map "\C-h" 'Helper-help) + (define-key map help-key 'Helper-help) (define-key map "?" 'Helper-describe-bindings) (define-key map "\C-c" nil) (define-key map "\C-c\C-c" 'Electric-buffer-menu-quit) @@ -221,7 +224,7 @@ (ding) (message (if (and (eq (key-binding "\C-c\C-c") 'Electric-buffer-menu-quit) (eq (key-binding " ") 'Electric-buffer-menu-select) - (eq (key-binding "\C-h") 'Helper-help) + (eq (key-binding help-key) 'Helper-help) (eq (key-binding "?") 'Helper-describe-bindings)) "Type C-c C-c to exit, Space to select, C-h for help, ? for commands" (substitute-command-keys "\