Emanuel Berg <[email protected]> writes:

> I have a function that is
>
>     (defun gnus-article-wash-more ()
>       "Perform additional article washing."
>       (interactive)
>       (article-translate-strings
>        '(
>          ("Sendt fra min iPad" "")
>          ("Skickat från Yahoo Mail för iPhone" "")
>          ;; ...
>          ))
>       (gnus-article-strip-multiple-blank-lines) )
>
> which works when called interactively from an
> article buffer.
>
> However I can't find a hook to put it in to have it
> executed automatically each time!

I think you need to wrap the body in

  (gnus-with-article-buffer ...)

This will have the added effect of making the interactive function work
from the summary buffer window (provided there is a current article in
some buffer, of course).

<snip>
-- 
Ben.

_______________________________________________
info-gnus-english mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/info-gnus-english

Reply via email to