From 90d5ea049901e70abdaa1893f4f1b5dc731e42ec Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sun, 22 May 2005 13:31:22 +0000 Subject: [PATCH] Use write-file-functions instead of write-file-hooks. --- lisp/emulation/tpu-extras.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lisp/emulation/tpu-extras.el b/lisp/emulation/tpu-extras.el index 9c417dd3a40..427ef19bccd 100644 --- a/lisp/emulation/tpu-extras.el +++ b/lisp/emulation/tpu-extras.el @@ -144,9 +144,9 @@ the previous line when starting from a line beginning." "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 -- 2.39.2