[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: how to not show images?
From: |
Michael Mauger |
Subject: |
Re: how to not show images? |
Date: |
Fri, 20 May 2005 18:41:01 +0000 (UTC) |
User-agent: |
Loom/3.14 (http://gmane.org/) |
Kevin Rodgers <ihs_4664 <at> yahoo.com> writes:
>
> Drew Adams wrote:
> > How about: (setq image-types nil)
> > Or:
> >
> > (defadvice display-images-p (around disable activate)
> > "Return nil."
> > nil)
> >
> > Those don't seem to work, for me. I'm on Windows, if that makes any
> > difference.
> >
> > Do they work for you? If so, then that answers my question about the feature
> > existing, and I'll just have to figure out why they don't work for me.
>
> Yes.
>
Try:
(defadvice image-type-available-p (around disable activate)
"Return nil."
nil)
`image-type-available-p' is a much better place to do this. You could add a
(buffer local) flag to the advice to make the suppression of images conditional
[left as an exercise for the reader].
I tried this on a w32 CVS checkout from yesterday and it works as advertised.
-- Michael
Re: how to not show images?, Mathias Dahl, 2005/05/18
Re: how to not show images?, Lute Kamstra, 2005/05/19
Re: how to not show images?, Klaus Berndl, 2005/05/19
Re: how to not show images?, None, 2005/05/19
Re: how to not show images?, Lute Kamstra, 2005/05/19