Mercurial > emacs
comparison lisp/net/zone-mode.el @ 53382:2a2faa2f1d56
(zone-mode): Use write-file-functions, not write-file-hooks.
author | Eli Zaretskii <eliz@is.elta.co.il> |
---|---|
date | Mon, 29 Dec 2003 12:55:59 +0000 |
parents | 695cf19ef79e |
children | df55e63482c4 |
comparison
equal
deleted
inserted
replaced
53381:f67832ec7140 | 53382:2a2faa2f1d56 |
---|---|
90 - automatically update the serial number for a zone | 90 - automatically update the serial number for a zone |
91 when saving the file | 91 when saving the file |
92 | 92 |
93 - fontification" | 93 - fontification" |
94 | 94 |
95 (add-hook 'write-file-hooks 'zone-mode-update-serial-hook nil t) | 95 (add-hook 'write-file-functions 'zone-mode-update-serial-hook nil t) |
96 | 96 |
97 (if (null zone-mode-syntax-table) | 97 (if (null zone-mode-syntax-table) |
98 (zone-mode-load-time-setup)) ;; should have been run at load-time | 98 (zone-mode-load-time-setup)) ;; should have been run at load-time |
99 | 99 |
100 ;; font-lock support: | 100 ;; font-lock support: |