comparison lisp/mail/mh-utils.el @ 14118:e7809b53da4d

(mh-display-msg): Use kill-local-variable to clear out write-contents-hooks.
author Karl Heuer <kwzh@gnu.org>
date Tue, 09 Jan 1996 23:19:28 +0000
parents 78c7ebcbd9fe
children 83f275dcd93a
comparison
equal deleted inserted replaced
14117:50df7ee940e8 14118:e7809b53da4d
23 23
24 ;; Internal support for mh-e package. 24 ;; Internal support for mh-e package.
25 25
26 ;;; Change Log: 26 ;;; Change Log:
27 27
28 ;; $Id: mh-utils.el,v 1.5 1995/04/25 22:27:45 kwzh Exp kwzh $ 28 ;; $Id: mh-utils.el,v 1.6 1995/11/03 02:29:09 kwzh Exp kwzh $
29 29
30 ;;; Code: 30 ;;; Code:
31 31
32 ;;; Set for local environment: 32 ;;; Set for local environment:
33 ;;; mh-progs and mh-lib used to be set in paths.el, which tried to 33 ;;; mh-progs and mh-lib used to be set in paths.el, which tried to
298 (mh-unvisit-file) 298 (mh-unvisit-file)
299 (erase-buffer) 299 (erase-buffer)
300 ;; Changing contents, so this hook needs to be reinitialized. 300 ;; Changing contents, so this hook needs to be reinitialized.
301 ;; pgp.el uses this. 301 ;; pgp.el uses this.
302 (if (boundp 'write-contents-hooks) ;Emacs 19 302 (if (boundp 'write-contents-hooks) ;Emacs 19
303 (setq write-contents-hooks nil)) 303 (kill-local-variable 'write-contents-hooks))
304 (if formfile 304 (if formfile
305 (mh-exec-lib-cmd-output "mhl" "-nobell" "-noclear" 305 (mh-exec-lib-cmd-output "mhl" "-nobell" "-noclear"
306 (if (stringp formfile) 306 (if (stringp formfile)
307 (list "-form" formfile)) 307 (list "-form" formfile))
308 msg-filename) 308 msg-filename)