emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Reverting *Locate* buffers.


From: David Kastrup
Subject: Re: Reverting *Locate* buffers.
Date: Mon, 03 Jul 2006 17:41:46 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Michael Albinus <address@hidden> writes:

> Richard Stallman <address@hidden> writes:
>
>>     The solution would be to set temporarily default-directory to "/" or
>>     whatover local during loading of Tramp. But I have no idea how to say
>>     it,
>>
>> Does
>>
>> (let ((default-directory "/"))
>>   (require 'tramp))
>>
>> do the job?
>
> Of course. But this would be given to the _consumers_ of Tramp,
> contradicting the concept of autoload. And sometimes they shouldn't
> even know that Tramp is required.

Maybe `autoload' should locally bind default-directory to some default
value.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum




reply via email to

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