bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#4491: [PATCH] Emacs CVS lisp/ido.el: (ido-everywhere): Add autoload


From: Leo
Subject: bug#4491: [PATCH] Emacs CVS lisp/ido.el: (ido-everywhere): Add autoload stanza
Date: Sun, 20 Sep 2009 18:32:15 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

On 2009-09-20 17:06 +0100, Jari Aalto wrote:
> Stefan Monnier <monnier@iro.umontreal.ca> writes:
>
>>>     (defcustom ido-everywhere nil
>>>       "Use ido everywhere for reading file names and directories.
>>>     Setting this variable directly does not work.  Use `customize' or
>>>     call the function `ido-everywhere'."
>>
>> I'm not sure ido-everywhere is meant to work when ido-mode is OFF.
>> So, I think ido-everywhere is only meaningfully called after calling
>> ido-mode, in which case autoloading doesn't make much sense.
>
> This is where I use it:
>
>   (autoload 'ido-everywhere "ido")
>   (ido-everywhere 1)
>   (ido-mode 1)

Why not

 (ido-mode 1)
 (ido-everywhere 1)

??

Then you don't need that autoload.

> Jari

-- 
Leo's Emacs uptime: 1 hour, 13 minutes, 44 seconds







reply via email to

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