changeset 8278:f856f00b1e32

(mh-folder-mode): Use local-write-file-hooks.
author Richard M. Stallman <rms@gnu.org>
date Mon, 18 Jul 1994 18:04:45 +0000
parents 824fb42f33ab
children 4cde734c20e8
files lisp/mail/mh-e.el
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/mail/mh-e.el	Mon Jul 18 17:49:23 1994 +0000
+++ b/lisp/mail/mh-e.el	Mon Jul 18 18:04:45 1994 +0000
@@ -52,7 +52,7 @@
 ;;; Modified by James Larus, BBN, July 1984 and UCB, 1984 & 1985.
 ;;; Rewritten for GNU Emacs, James Larus 1985.  larus@ginger.berkeley.edu
 ;;; Modified by Stephen Gildea 1988.  gildea@lcs.mit.edu
-(defconst mh-e-RCS-id "$Header: mh-e.el,v 3.15 94/04/13 11:36:48 gildea Exp $")
+(defconst mh-e-RCS-id "$Header: /home/fsf/rms/e19/lisp/RCS/mh-e.el,v 1.2 1994/04/13 20:42:10 rms Exp rms $")
 
 ;;; Code:
 
@@ -280,7 +280,7 @@
   (mh-set-scan-mode)
   (mh-goto-cur-msg)			; after mh-set-scan-mode for efficiency
   (mh-make-folder-mode-line)
-  t)					; return t for write-file-hooks
+  t)					; return t for local-write-file-hooks
 
 
 (defun mh-first-msg ()
@@ -772,8 +772,8 @@
   (setq truncate-lines t)
   (auto-save-mode -1)
   (setq buffer-offer-save t)
-  (make-local-variable 'write-file-hooks)
-  (setq write-file-hooks '(mh-execute-commands))
+  (make-local-variable 'local-write-file-hooks)
+  (setq local-write-file-hooks '(mh-execute-commands))
   (make-local-variable 'revert-buffer-function)
   (setq revert-buffer-function 'mh-undo-folder)
   (or (assq 'mh-showing minor-mode-alist)