changeset 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 dd9b63b29d80
children 1f84b1fd2560
files lisp/emulation/tpu-extras.el
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
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