diff options
author | Stefan Kangas <stefan@marxist.se> | 2020-10-27 00:49:28 +0100 |
---|---|---|
committer | Stefan Kangas <stefan@marxist.se> | 2020-10-27 00:50:38 +0100 |
commit | e679e0abcf2a1c5c8c95974a9f759edac9c934b4 (patch) | |
tree | 495bb6167e744dbf6e5f2342ecc2bfc13e00aef3 /lisp/mh-e/mh-show.el | |
parent | c00758a4bca7464250bdd752cb03498ec587e6aa (diff) | |
download | emacs-e679e0abcf2a1c5c8c95974a9f759edac9c934b4.tar.gz emacs-e679e0abcf2a1c5c8c95974a9f759edac9c934b4.tar.bz2 emacs-e679e0abcf2a1c5c8c95974a9f759edac9c934b4.zip |
Don't use obsolete variable write-contents-hooks
* lisp/mh-e/mh-show.el (mh-display-msg):
* lisp/textmodes/rst.el: Don't use obsolete variable
write-contents-hooks.
Problem reported by Stefan Monnier <monnier@iro.umontreal.ca>.
Diffstat (limited to 'lisp/mh-e/mh-show.el')
-rw-r--r-- | lisp/mh-e/mh-show.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/mh-e/mh-show.el b/lisp/mh-e/mh-show.el index 04551acd143..7536f949e76 100644 --- a/lisp/mh-e/mh-show.el +++ b/lisp/mh-e/mh-show.el @@ -219,7 +219,7 @@ Sets the current buffer to the show buffer." (erase-buffer) ;; Changing contents, so this hook needs to be reinitialized. ;; pgp.el uses this. - (kill-local-variable 'write-contents-hooks) + (kill-local-variable 'write-contents-functions) (font-lock-mode -1) (mh-show-mode) (if formfile |