(gnus-article-prepare): Fix previous commit.
authorKatsumi Yamaoka <yamaoka@jpl.org>
Fri, 28 Jan 2005 02:30:27 +0000 (02:30 +0000)
committerKatsumi Yamaoka <yamaoka@jpl.org>
Fri, 28 Jan 2005 02:30:27 +0000 (02:30 +0000)
lisp/gnus-art.el

index 7e48bc3..fe812a2 100644 (file)
@@ -3840,7 +3840,7 @@ If ALL-HEADERS is non-nil, no headers are hidden."
                   transient-mark-mode)
          (setq mark-active nil))
        ;; Editing of the article might not have been finished.
-       (when (local-variable-p 'after-change-functions)
+       (when (local-variable-p 'after-change-functions (current-buffer))
          (remove-hook 'after-change-functions
                       'message-strip-forbidden-properties
                       'local))