1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-30 04:10:54 -08:00

(hexl-mode): Don't make `font-lock-defaults' buffer-local;

it is already automatically buffer-local.
This commit is contained in:
Juanma Barranquero 2008-02-12 17:29:07 +00:00
parent da9e269f68
commit 355652a2a3
2 changed files with 11 additions and 8 deletions

View file

@ -1,13 +1,17 @@
2008-02-11 Drew Adams <drew.adams@oracle.com>
2008-02-12 Juanma Barranquero <lekktu@gmail.com>
* help.el (describe-key): Joined some split lines to facilitate
filling.
* 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): 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.

View 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.