>>>>> William Xu wrote:
[...]
> gnus-article-prepare-hook, calling something like:

> ,----
>| (gnus-summary-edit-article 2)
>| (goto-char (point-min))
>| (insert (format "From: %s\n" author))
>| (gnus-article-edit-done)
> `----

> But it looks like this will be called again and again. Am I using the
> wrong hook?

`gnus-article-edit-done' calls `gnus-article-prepare-hook' when
re-displaying the article, so this will help:

(let ((gnus-article-prepare-hook nil))
  (gnus-article-edit-done))
_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
http://lists.gnu.org/mailman/listinfo/info-gnus-english

Reply via email to