# HG changeset patch # User Karl Heuer # Date 821229568 0 # Node ID e7809b53da4db8d26fd79520afe0c8ea4e04fb0f # Parent 50df7ee940e8188297157937d33dd6cf304d5f2c (mh-display-msg): Use kill-local-variable to clear out write-contents-hooks. diff -r 50df7ee940e8 -r e7809b53da4d lisp/mail/mh-utils.el --- a/lisp/mail/mh-utils.el Tue Jan 09 23:19:17 1996 +0000 +++ b/lisp/mail/mh-utils.el Tue Jan 09 23:19:28 1996 +0000 @@ -25,7 +25,7 @@ ;;; Change Log: -;; $Id: mh-utils.el,v 1.5 1995/04/25 22:27:45 kwzh Exp kwzh $ +;; $Id: mh-utils.el,v 1.6 1995/11/03 02:29:09 kwzh Exp kwzh $ ;;; Code: @@ -300,7 +300,7 @@ ;; Changing contents, so this hook needs to be reinitialized. ;; pgp.el uses this. (if (boundp 'write-contents-hooks) ;Emacs 19 - (setq write-contents-hooks nil)) + (kill-local-variable 'write-contents-hooks)) (if formfile (mh-exec-lib-cmd-output "mhl" "-nobell" "-noclear" (if (stringp formfile)