aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuanma Barranquero2008-02-12 17:29:07 +0000
committerJuanma Barranquero2008-02-12 17:29:07 +0000
commit355652a2a38cd9e5eb4501b0caad060c29c987ca (patch)
tree9b1a162d6ecf436afdf665405847e15d55b76db2
parentda9e269f680d29d1faa2fcf42d6197b248bc208f (diff)
downloademacs-355652a2a38cd9e5eb4501b0caad060c29c987ca.tar.gz
emacs-355652a2a38cd9e5eb4501b0caad060c29c987ca.zip
(hexl-mode): Don't make `font-lock-defaults' buffer-local;
it is already automatically buffer-local.
-rw-r--r--lisp/ChangeLog18
-rw-r--r--lisp/hexl.el1
2 files changed, 11 insertions, 8 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 44b843e7ebb..7b1391a5f57 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,13 +1,17 @@
12008-02-11 Drew Adams <drew.adams@oracle.com> 12008-02-12 Juanma Barranquero <lekktu@gmail.com>
2
3 * hexl.el (hexl-mode): Don't make `font-lock-defaults' buffer-local;
4 it is already automatically buffer-local.
5
62008-02-11 Drew Adams <drew.adams@oracle.com>
2 7
3 * help.el (describe-key): Joined some split lines to facilitate 8 * help.el (describe-key): Join some split lines to facilitate filling.
4 filling.
5 * help-fns.el (describe-function-1): Fill text of overlong lines. 9 * help-fns.el (describe-function-1): Fill text of overlong lines.
6 10
72008-02-12 Kenichi Handa <handa@ni.aist.go.jp> 112008-02-12 Kenichi Handa <handa@ni.aist.go.jp>
8 12
9 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Use 13 * emacs-lisp/bytecomp.el (byte-compile-lapcode):
10 unibyte-string instead of string-make-unibyte. 14 Use unibyte-string instead of string-make-unibyte.
11 15
12 * Makefile.in (AUTOGENEL): Remove charprop.el and uni-*.el. 16 * Makefile.in (AUTOGENEL): Remove charprop.el and uni-*.el.
13 17
@@ -16,8 +20,8 @@
16 * doc-view.el (doc-view-display): Change file arg to buffer arg, so it 20 * doc-view.el (doc-view-display): Change file arg to buffer arg, so it
17 works also for buffers w/o buffer-file-name. Update callers. 21 works also for buffers w/o buffer-file-name. Update callers.
18 (doc-view-clone-buffer-hook): New fun. 22 (doc-view-clone-buffer-hook): New fun.
19 (doc-view-mode): Use it for indirect clones. 23 (doc-view-mode): Use it for indirect clones. Mark the overlays with
20 Mark the overlays with the `doc-view' property so they can be recognized. 24 the `doc-view' property so they can be recognized.
21 25
22 * simple.el (clone-indirect-buffer-hook): New hook. 26 * simple.el (clone-indirect-buffer-hook): New hook.
23 (clone-indirect-buffer): Run it. 27 (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.
279 279
280 (make-local-variable 'hexl-mode-old-font-lock-keywords) 280 (make-local-variable 'hexl-mode-old-font-lock-keywords)
281 (setq hexl-mode-old-font-lock-keywords font-lock-defaults) 281 (setq hexl-mode-old-font-lock-keywords font-lock-defaults)
282 (make-local-variable 'font-lock-defaults)
283 (setq font-lock-defaults '(hexl-font-lock-keywords t)) 282 (setq font-lock-defaults '(hexl-font-lock-keywords t))
284 283
285 ;; Add hooks to rehexlify or dehexlify on various events. 284 ;; Add hooks to rehexlify or dehexlify on various events.