[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Show Me Images Only when From certain Pe o p le
- From: Robert Pluim <rpluim@xxxxxxxxx>
- Date: Fri, 11 Mar 2011 16:20:58 +0100
- X-ml-name: emacs-w3m
- X-mail-count: 11543
- References: <87y64qkxjg.fsf@xxxxxxxxxxx> <87fwqtae2b.fsf_-_@xxxxxxxxxxx>
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