changeset 1978:d7fd2aa5185a

* hexl.el (hexl-mode-map): When initializing, remember that the argument to key-binding is a key sequence, not a single key.
author Jim Blandy <jimb@redhat.com>
date Tue, 02 Mar 1993 07:26:43 +0000
parents ca6059bb1d6f
children 0582c70595f1
files lisp/hexl.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/hexl.el	Tue Mar 02 07:25:44 1993 +0000
+++ b/lisp/hexl.el	Tue Mar 02 07:26:43 1993 +0000
@@ -586,7 +586,7 @@
     (define-key hexl-mode-map "\C-e" 'hexl-end-of-line)
     (define-key hexl-mode-map "\C-f" 'hexl-forward-char)
 
-    (if (not (eq (key-binding help-char) 'help-command))
+    (if (not (eq (key-binding (char-to-string help-char)) 'help-command))
 	(define-key hexl-mode-map help-char 'undefined))
 
     (define-key hexl-mode-map "\C-i" 'hexl-self-insert-command)