[Date Prev][Date Next][Thread Prev][][Date Index][Thread Index]

Re: Show Me Images Only when From certain Pe o p le



jidanni@xxxxxxxxxxx writes:

> ;;CAN somebody TELL me how to DO this Right?
> (setq
>  gnus-article-prepare-hook
>  (function
>   (lambda ()
>     (if(string-match-p "tw-blog-sys@yahoo-inc\\.com" 
> 		       (prin1-to-string gnus-current-headers))
> ;;; see how dumb I am ^^^^^^^^^^^^^^^^^ but how else can you do this?
>

(mail-header-from gnus-current-headers) ?

(I cheated and used 'grep' :) )

Regards

Robert