aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/emulation/tpu-extras.el6
1 files 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."
144 "Eliminate whitespace at ends of lines, if the cursor is free." 144 "Eliminate whitespace at ends of lines, if the cursor is free."
145 (if (and (buffer-modified-p) tpu-cursor-free) (tpu-trim-line-ends))) 145 (if (and (buffer-modified-p) tpu-cursor-free) (tpu-trim-line-ends)))
146 146
147(or (memq 'tpu-write-file-hook write-file-hooks) 147(or (memq 'tpu-write-file-hook write-file-functions)
148 (setq write-file-hooks 148 (setq write-file-functions
149 (cons 'tpu-write-file-hook write-file-hooks))) 149 (cons 'tpu-write-file-hook write-file-functions)))
150 150
151 151
152;;; Utility routines for implementing scroll margins 152;;; Utility routines for implementing scroll margins