[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: doc-view and mailcap
From: |
Juri Linkov |
Subject: |
Re: doc-view and mailcap |
Date: |
Thu, 18 Oct 2007 02:35:59 +0300 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/23.0.50 (gnu/linux) |
> To follow Richard's suggestion, the test should be something like...
>
> (and (fboundp 'doc-view-mode)
> (display-graphic-p)
> (image-type-available-p 'png))
>
> or...
>
> (and (fboundp 'doc-view-mode-p)
> (doc-view-mode-p))
>
> with (in `doc-view.el')...
>
> (defun doc-view-mode-p ()
> (and (display-graphic-p)
> (image-type-available-p 'png)))
>
> Shouldn't it?
I think the second variant is better. Since this is a matter of doc-view
to decide if it can support displaying, it should have such a function
(autoloaded).
--
Juri Linkov
http://www.jurta.org/emacs/
- Re: Please install: Some improvements to doc-view.el, (continued)
- Re: Please install: Some improvements to doc-view.el, Richard Stallman, 2007/10/14
- Re: Please install: Some improvements to doc-view.el, Juri Linkov, 2007/10/15
- Re: Please install: Some improvements to doc-view.el, Richard Stallman, 2007/10/16
- Re: Please install: Some improvements to doc-view.el, Leo, 2007/10/16
- Re: Please install: Some improvements to doc-view.el, Richard Stallman, 2007/10/17
- Re: Please install: Some improvements to doc-view.el, Leo, 2007/10/17
- Re: Please install: Some improvements to doc-view.el, Richard Stallman, 2007/10/17
- Re: Please install: Some improvements to doc-view.el, Leo, 2007/10/17
- Re: Please install: Some improvements to doc-view.el, Richard Stallman, 2007/10/19
- doc-view and mailcap (was: Please install: Some improvements to doc-view.el), Reiner Steib, 2007/10/17
- Re: doc-view and mailcap,
Juri Linkov <=
- Re: doc-view and mailcap, Reiner Steib, 2007/10/18
- doc-view and mailcap (was: Please install: Some improvements to doc-view.el), Reiner Steib, 2007/10/16
- Re: doc-view and mailcap, Stefan Monnier, 2007/10/16
- Re: doc-view and mailcap, Richard Stallman, 2007/10/17
- Re: doc-view and mailcap, Stefan Monnier, 2007/10/17
- Re: doc-view and mailcap, Reiner Steib, 2007/10/17
- Re: doc-view and mailcap, Juri Linkov, 2007/10/17
- Re: doc-view and mailcap, Richard Stallman, 2007/10/18
- Re: doc-view and mailcap (was: Please install: Some improvements to doc-view.el), Richard Stallman, 2007/10/17
- Re: doc-view and mailcap, Reiner Steib, 2007/10/17