[DRE-maint] Bug#551258: haml-elisp: autoload and auto-mode-alist
Gunnar Wolf
gwolf at gwolf.org
Fri Oct 16 22:43:19 UTC 2009
reopen 551258
priority 551258 wishlist
tag 551258 - wontfix
thanks
mike castleman dijo [Fri, Oct 16, 2009 at 02:18:22PM -0400]:
> It is my belief -- and maybe I'm wrong -- that if instead of doing
> (require 'haml-mode)
>
> you put
> (autoload 'haml-mode "haml-mode" nil t)
>
> then somehow haml-mode will not always be loaded but will magically be
> loaded when it is actually needed. Then if you have the auto-mode-alist
> thing you will get haml-mode when you open up a .haml file but not
> before that.
Ok, I just checked this with some colleagues, and you are absolutely
right. Consider this scheduled for the next upload, I'll just figure
out exactly how!
--
Gunnar Wolf • gwolf at gwolf.org • (+52-55)5623-0154 / 1451-2244
More information about the Pkg-ruby-extras-maintainers
mailing list