summaryrefslogtreecommitdiff
path: root/lisp/hexl.el
diff options
context:
space:
mode:
authorJim Blandy <jimb@redhat.com>1993-03-02 07:26:43 +0000
committerJim Blandy <jimb@redhat.com>1993-03-02 07:26:43 +0000
commitb9a4b5011e4804cc372fe3cba4b45ebb3ccac489 (patch)
tree2a563992a6567de78473a5cf7e8c0d2beac0a3c1 /lisp/hexl.el
parent0ca90494a9251f0e225acd757d84dc5ce1d30b97 (diff)
downloademacs-b9a4b5011e4804cc372fe3cba4b45ebb3ccac489.tar.gz
* hexl.el (hexl-mode-map): When initializing, remember that the
argument to key-binding is a key sequence, not a single key.
Diffstat (limited to 'lisp/hexl.el')
-rw-r--r--lisp/hexl.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/hexl.el b/lisp/hexl.el
index f9e564f3fa2..a38e12366ee 100644
--- a/lisp/hexl.el
+++ b/lisp/hexl.el
@@ -586,7 +586,7 @@ You may also type up to 3 octal digits, to insert a character with that code"
(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)