From: Juanma Barranquero Date: Tue, 12 Feb 2008 17:29:07 +0000 (+0000) Subject: (hexl-mode): Don't make `font-lock-defaults' buffer-local; X-Git-Tag: emacs-pretest-23.0.90~7981 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=355652a2a38cd9e5eb4501b0caad060c29c987ca;p=emacs.git (hexl-mode): Don't make `font-lock-defaults' buffer-local; it is already automatically buffer-local. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 44b843e7ebb..7b1391a5f57 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,13 +1,17 @@ -2008-02-11 Drew Adams +2008-02-12 Juanma Barranquero + + * hexl.el (hexl-mode): Don't make `font-lock-defaults' buffer-local; + it is already automatically buffer-local. + +2008-02-11 Drew Adams - * help.el (describe-key): Joined some split lines to facilitate - filling. + * help.el (describe-key): Join some split lines to facilitate filling. * help-fns.el (describe-function-1): Fill text of overlong lines. 2008-02-12 Kenichi Handa - * emacs-lisp/bytecomp.el (byte-compile-lapcode): Use - unibyte-string instead of string-make-unibyte. + * emacs-lisp/bytecomp.el (byte-compile-lapcode): + Use unibyte-string instead of string-make-unibyte. * Makefile.in (AUTOGENEL): Remove charprop.el and uni-*.el. @@ -16,8 +20,8 @@ * doc-view.el (doc-view-display): Change file arg to buffer arg, so it works also for buffers w/o buffer-file-name. Update callers. (doc-view-clone-buffer-hook): New fun. - (doc-view-mode): Use it for indirect clones. - Mark the overlays with the `doc-view' property so they can be recognized. + (doc-view-mode): Use it for indirect clones. Mark the overlays with + the `doc-view' property so they can be recognized. * simple.el (clone-indirect-buffer-hook): New hook. (clone-indirect-buffer): Run it. diff --git a/lisp/hexl.el b/lisp/hexl.el index bba48318f9d..c0ec9aa6ed8 100644 --- a/lisp/hexl.el +++ b/lisp/hexl.el @@ -279,7 +279,6 @@ You can use \\[hexl-find-file] to visit a file in Hexl mode. (make-local-variable 'hexl-mode-old-font-lock-keywords) (setq hexl-mode-old-font-lock-keywords font-lock-defaults) - (make-local-variable 'font-lock-defaults) (setq font-lock-defaults '(hexl-font-lock-keywords t)) ;; Add hooks to rehexlify or dehexlify on various events.