X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/e333157cba3b4ffd7c25f8210a6aa5a21ae10de7..001d88b62ecb8163a148656acb103b354ce7613a:/lisp/hexl.el diff --git a/lisp/hexl.el b/lisp/hexl.el index 5f099a5afd..61d7dd0f31 100644 --- a/lisp/hexl.el +++ b/lisp/hexl.el @@ -395,8 +395,8 @@ You can use \\[hexl-find-file] to visit a file in Hexl mode. (add-hook 'change-major-mode-hook 'hexl-maybe-dehexlify-buffer nil t) ;; Set a callback function for eldoc. - (add-function :before-until (local 'eldoc-documentation-function) - #'hexl-print-current-point-info) + (add-hook 'eldoc-documentation-functions + #'hexl-print-current-point-info nil t) (eldoc-add-command-completions "hexl-") (eldoc-remove-command "hexl-save-buffer" "hexl-current-address")