mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-23 07:19:15 +00:00
(hexl-mode): Run hexl-mode-hook.
This commit is contained in:
parent
25aad94254
commit
7bfff21e3e
@ -212,8 +212,8 @@ You can use \\[hexl-find-file] to visit a file in hexl-mode.
|
||||
(add-hook 'after-revert-hook 'hexl-after-revert-hook nil t)
|
||||
|
||||
(make-local-hook 'change-major-mode-hook)
|
||||
(add-hook 'change-major-mode-hook 'hexl-maybe-dehexlify-buffer nil t)
|
||||
))
|
||||
(add-hook 'change-major-mode-hook 'hexl-maybe-dehexlify-buffer nil t))
|
||||
(run-hooks 'hexl-mode-hook))
|
||||
|
||||
(defun hexl-after-revert-hook ()
|
||||
(hexlify-buffer)
|
||||
|
Loading…
Reference in New Issue
Block a user