diff lisp/emulation/tpu-extras.el @ 62615:c9e18de90ee3

Use write-file-functions instead of write-file-hooks.
author Richard M. Stallman <rms@gnu.org>
date Sun, 22 May 2005 13:31:22 +0000
parents a7e02ef1e3d6
children 18a818a2ee7c 5b029ff3b08d
line wrap: on
line diff
--- a/lisp/emulation/tpu-extras.el	Sun May 22 12:37:24 2005 +0000
+++ b/lisp/emulation/tpu-extras.el	Sun May 22 13:31:22 2005 +0000
@@ -144,9 +144,9 @@
   "Eliminate whitespace at ends of lines, if the cursor is free."
   (if (and (buffer-modified-p) tpu-cursor-free) (tpu-trim-line-ends)))
 
-(or (memq 'tpu-write-file-hook write-file-hooks)
-    (setq write-file-hooks
-	  (cons 'tpu-write-file-hook write-file-hooks)))
+(or (memq 'tpu-write-file-hook write-file-functions)
+    (setq write-file-functions
+	  (cons 'tpu-write-file-hook write-file-functions)))
 
 
 ;;;  Utility routines for implementing scroll margins