Commit b9a4b501 authored by Jim Blandy's avatar Jim Blandy
Browse files

* hexl.el (hexl-mode-map): When initializing, remember that the

	argument to key-binding is a key sequence, not a single key.
parent 0ca90494
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment