Mercurial > emacs
diff lisp/hexl.el @ 54319:2d1d046af00a
2004-03-09 Masatake YAMATO <jet@gyve.org>
* hexl.el (hexl-mode): Use `make-local-variable' instead of
`make-variable-buffer-local'.
author | Masatake YAMATO <jet@gyve.org> |
---|---|
date | Tue, 09 Mar 2004 01:25:27 +0000 |
parents | f4b54db9c8ae |
children | ad02f6299e9a |
line wrap: on
line diff
--- a/lisp/hexl.el Tue Mar 09 00:03:07 2004 +0000 +++ b/lisp/hexl.el Tue Mar 09 01:25:27 2004 +0000 @@ -239,7 +239,7 @@ (add-hook 'change-major-mode-hook 'hexl-maybe-dehexlify-buffer nil t) ;; Set a callback function for eldoc. - (set (make-variable-buffer-local 'eldoc-print-current-symbol-info-function) + (set (make-local-variable 'eldoc-print-current-symbol-info-function) 'hexl-print-current-point-info) (eldoc-add-command-completions "hexl-") (eldoc-remove-command "hexl-save-buffer"