# HG changeset patch # User Eli Zaretskii # Date 1072702559 0 # Node ID 2a2faa2f1d562170019f98fdf1cb0702ac96288f # Parent f67832ec714059f0d8c43cac82b16939a2fb5b13 (zone-mode): Use write-file-functions, not write-file-hooks. diff -r f67832ec7140 -r 2a2faa2f1d56 lisp/net/zone-mode.el --- 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