aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMasatake YAMATO2004-03-09 01:25:27 +0000
committerMasatake YAMATO2004-03-09 01:25:27 +0000
commit4f918f606bd43ea796441a75fa27414efc0e03f8 (patch)
treefc349dc1158c223aaebc4f261fc98239736ee6d9
parent1a94f9c83e1f474572dc01e9f5a1d57c96409124 (diff)
downloademacs-4f918f606bd43ea796441a75fa27414efc0e03f8.tar.gz
emacs-4f918f606bd43ea796441a75fa27414efc0e03f8.zip
2004-03-09 Masatake YAMATO <jet@gyve.org>
* hexl.el (hexl-mode): Use `make-local-variable' instead of `make-variable-buffer-local'.
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/hexl.el2
2 files changed, 6 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 5927438748f..af42e158cd7 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12004-03-09 Masatake YAMATO <jet@gyve.org>
2
3 * hexl.el (hexl-mode): Use `make-local-variable' instead of
4 `make-variable-buffer-local'.
5
12004-03-08 Michael Albinus <Michael.Albinus@alcatel.de> 62004-03-08 Michael Albinus <Michael.Albinus@alcatel.de>
2 7
3 * find-dired.el (find-dired): Call `shell-command' instead of 8 * 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.
239 (add-hook 'change-major-mode-hook 'hexl-maybe-dehexlify-buffer nil t) 239 (add-hook 'change-major-mode-hook 'hexl-maybe-dehexlify-buffer nil t)
240 240
241 ;; Set a callback function for eldoc. 241 ;; Set a callback function for eldoc.
242 (set (make-variable-buffer-local 'eldoc-print-current-symbol-info-function) 242 (set (make-local-variable 'eldoc-print-current-symbol-info-function)
243 'hexl-print-current-point-info) 243 'hexl-print-current-point-info)
244 (eldoc-add-command-completions "hexl-") 244 (eldoc-add-command-completions "hexl-")
245 (eldoc-remove-command "hexl-save-buffer" 245 (eldoc-remove-command "hexl-save-buffer"