[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: DocView broken!
From: |
Tassilo Horn |
Subject: |
Re: DocView broken! |
Date: |
Thu, 10 Jan 2008 14:40:29 +0100 |
User-agent: |
Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.50 (gnu/linux) |
Michael Albinus <address@hidden> writes:
Hi Michael,
> Your approach to require Tramp is not clean I fear. There are users
> who don't use Tramp at all. Furthermore, tramp-tramp-file-p is not a
> documented function, that means it could change without any notice.
>
> Better would be to apply (file-remote-p buffer-file-name)
Ok, I'll change that.
> Furthermore, you shall check (stringp buffer-file-name) at all - try
> "M-x doc-view-mode" when you are in *scratch* ...
Right.
Thanks for the pointers,
Tassilo