1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

(zone-mode): Add write-file-hooks hook locally.

This commit is contained in:
Richard M. Stallman 2002-04-30 03:28:48 +00:00
parent 74d51fb840
commit f1b693270a
2 changed files with 3 additions and 1 deletions

View file

@ -1,5 +1,7 @@
2002-04-29 Richard M. Stallman <rms@gnu.org>
* net/zone-mode.el (zone-mode): Add write-file-hooks hook locally.
* mail/emacsbug.el (report-emacs-bug-hook): Don't fail completely
if the user edits the Emacs version number in the text.

View file

@ -92,7 +92,7 @@ Zone-mode does two things:
- fontification"
(add-hook 'write-file-hooks 'zone-mode-update-serial-hook)
(add-hook 'write-file-hooks 'zone-mode-update-serial-hook nil t)
(if (null zone-mode-syntax-table)
(zone-mode-load-time-setup)) ;; should have been run at load-time