all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Autoload plus extra configurations
@ 2009-05-19  4:54 Eric
  2009-05-19  6:24 ` Giorgos Keramidas
  0 siblings, 1 reply; 4+ messages in thread
From: Eric @ 2009-05-19  4:54 UTC (permalink / raw)
  To: help-gnu-emacs

I'm shifting a bunch of libraries to autoload in order to reduce load
times, and running into an issue with extra configuration for those
autoloaded libraries. Tramp, for instance, is enormous and slow and I
don't use it often. I want to autoload it, but I've also got some
extra configuration that accesses tramp-default-methods and tramp-set-
completion-fuction, which are unavailable until tramp is actually
loaded.

Is there a way that I can tuck these configurations inside a hook that
runs only when tramp is actually loaded, or otherwise delay the
evaluation of these configurations until the proper variables and
functions are available?

Thanks!
Eric


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-05-19  7:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-19  4:54 Autoload plus extra configurations Eric
2009-05-19  6:24 ` Giorgos Keramidas
2009-05-19  6:39   ` Anselm Helbig
2009-05-19  7:27     ` Eric

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.