[Top][All Lists]

[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 (

Kevin Rodgers <ihs_4664 <at>> 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.


(defadvice image-type-available-p (around disable activate)
       "Return 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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]