summaryrefslogtreecommitdiff
path: root/lisp/gnus/nndraft.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/gnus/nndraft.el')
-rw-r--r--lisp/gnus/nndraft.el2
1 files changed, 0 insertions, 2 deletions
diff --git a/lisp/gnus/nndraft.el b/lisp/gnus/nndraft.el
index 5f57dd2bf7c..f6c62c8a152 100644
--- a/lisp/gnus/nndraft.el
+++ b/lisp/gnus/nndraft.el
@@ -206,9 +206,7 @@ are generated if and only if they are also in `message-draft-headers'.")
(let ((hook (if (boundp 'write-contents-functions)
'write-contents-functions
'write-contents-hooks)))
- (gnus-make-local-hook hook)
(add-hook hook 'nndraft-generate-headers nil t))
- (gnus-make-local-hook 'after-save-hook)
(add-hook 'after-save-hook 'nndraft-update-unread-articles nil t)
(message-add-action '(nndraft-update-unread-articles)
'exit 'postpone 'kill)