changeset 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 f67832ec7140
children 503b1160745f
files lisp/net/zone-mode.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/net/zone-mode.el	Mon Dec 29 12:49:21 2003 +0000
+++ b/lisp/net/zone-mode.el	Mon Dec 29 12:55:59 2003 +0000
@@ -92,7 +92,7 @@
 
 	- fontification"
 
-  (add-hook 'write-file-hooks 'zone-mode-update-serial-hook nil t)
+  (add-hook 'write-file-functions '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