# HG changeset patch # User Juanma Barranquero # Date 1121424645 0 # Node ID a8184636c02185deca1f161b3db02a091b1c7541 # Parent 8b29b8961758f1327aeb822aaaf24374de7b977e (hexl-mode-map): Recognize also `ehelp-command' as a valid binding for `help-char'. diff -r 8b29b8961758 -r a8184636c021 lisp/hexl.el --- a/lisp/hexl.el Fri Jul 15 09:19:53 2005 +0000 +++ b/lisp/hexl.el Fri Jul 15 10:50:45 2005 +0000 @@ -287,7 +287,7 @@ (set (make-local-variable 'eldoc-documentation-function) 'hexl-print-current-point-info) (eldoc-add-command-completions "hexl-") - (eldoc-remove-command "hexl-save-buffer" + (eldoc-remove-command "hexl-save-buffer" "hexl-current-address") (if hexl-follow-ascii (hexl-follow-ascii 1))) @@ -918,7 +918,7 @@ (defun hexl-activate-ruler () "Activate `ruler-mode'" (require 'ruler-mode) - (set (make-local-variable 'ruler-mode-ruler-function) + (set (make-local-variable 'ruler-mode-ruler-function) 'hexl-mode-ruler) (ruler-mode 1)) @@ -929,7 +929,7 @@ (with-no-warnings (set (make-local-variable 'hl-line-range-function) 'hexl-highlight-line-range) - (set (make-local-variable 'hl-line-face) + (set (make-local-variable 'hl-line-face) 'highlight)) (hl-line-mode 1)) @@ -1009,7 +1009,8 @@ (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 (char-to-string help-char)) 'help-command)) + (if (not (memq (key-binding (char-to-string help-char)) + '(help-command ehelp-command))) (define-key hexl-mode-map (char-to-string help-char) 'undefined)) (define-key hexl-mode-map "\C-k" 'undefined)