Currently, to use a certain plugin (nxhtml), I place the following statements in my .emacs,
(load "<plugin-location>/autostart.el")
Therefore everytime I open emacs, this is loaded, regardless of whether I am editing a file that the plug-in is applicable to (e.g. .htm). This loading is undesirable as it takes several seconds, how might I alter my settings so that this plug-in is loaded only when I am editing .htm or .css files?