From: Masatake YAMATO Date: Tue, 9 Mar 2004 01:25:27 +0000 (+0000) Subject: 2004-03-09 Masatake YAMATO X-Git-Tag: ttn-vms-21-2-B4~7311 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4f918f606bd43ea796441a75fa27414efc0e03f8;p=emacs.git 2004-03-09 Masatake YAMATO * hexl.el (hexl-mode): Use `make-local-variable' instead of `make-variable-buffer-local'. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 5927438748f..af42e158cd7 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2004-03-09 Masatake YAMATO + + * hexl.el (hexl-mode): Use `make-local-variable' instead of + `make-variable-buffer-local'. + 2004-03-08 Michael Albinus * find-dired.el (find-dired): Call `shell-command' instead of diff --git a/lisp/hexl.el b/lisp/hexl.el index 40e3c929c59..9fd21824f26 100644 --- a/lisp/hexl.el +++ b/lisp/hexl.el @@ -239,7 +239,7 @@ 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. - (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"