(hexl-mode): Don't make `font-lock-defaults' buffer-local;
authorJuanma Barranquero <lekktu@gmail.com>
Tue, 12 Feb 2008 17:29:07 +0000 (17:29 +0000)
committerJuanma Barranquero <lekktu@gmail.com>
Tue, 12 Feb 2008 17:29:07 +0000 (17:29 +0000)
it is already automatically buffer-local.

lisp/ChangeLog
lisp/hexl.el

index 44b843e..7b1391a 100644 (file)
@@ -1,13 +1,17 @@
-2008-02-11 Drew Adams  <drew.adams@oracle.com>
+2008-02-12  Juanma Barranquero  <lekktu@gmail.com>
+
+       * hexl.el (hexl-mode): Don't make `font-lock-defaults' buffer-local;
+       it is already automatically buffer-local.
+
+2008-02-11  Drew Adams  <drew.adams@oracle.com>
 
-       * 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  <handa@ni.aist.go.jp>
 
-       * 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.
index bba4831..c0ec9aa 100644 (file)
@@ -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.