diff options
| author | Richard M. Stallman | 2005-05-22 13:31:22 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2005-05-22 13:31:22 +0000 |
| commit | 90d5ea049901e70abdaa1893f4f1b5dc731e42ec (patch) | |
| tree | fe6ac7064655ad2dff23567c1e85b5f23bf229c2 | |
| parent | 453b7959aeb7581727870f9bfc4f4eb9cd70b350 (diff) | |
| download | emacs-90d5ea049901e70abdaa1893f4f1b5dc731e42ec.tar.gz emacs-90d5ea049901e70abdaa1893f4f1b5dc731e42ec.zip | |
Use write-file-functions instead of write-file-hooks.
| -rw-r--r-- | lisp/emulation/tpu-extras.el | 6 |
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 |