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



_______________________________________________
Help-gnu-emacs mailing list
Help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

Reply via email to