From 4f918f606bd43ea796441a75fa27414efc0e03f8 Mon Sep 17 00:00:00 2001 From: Masatake YAMATO Date: Tue, 9 Mar 2004 01:25:27 +0000 Subject: [PATCH] 2004-03-09 Masatake YAMATO * hexl.el (hexl-mode): Use `make-local-variable' instead of `make-variable-buffer-local'. --- lisp/ChangeLog | 5 +++++ lisp/hexl.el | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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" -- 2.39.5