Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#21 Installation manual: usage of autoload

open
nobody
None
5
2009-04-05
2009-04-05
Matthias Habl
No

Currently the installation manual http://php-mode.sourceforge.net/html-manual/Installation.html proposes to load the PHP mode file in any case:

(load "php-mode")

However, even an ambitious programmer does not need the mode each time. Therefore, I propose to rather recommend in the manual the following usual method:

(autoload 'php-mode "php-mode" "PHP edit major mode" t)

If each available package was loaded by the Emacs, the start-up time would last unacceptably long.

Discussion