Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!sundc!pitstop!sun!amdcad!ames!ll-xn!mit-eddie!amadeus.UUCP!mdb From: mdb@amadeus.UUCP (Mark D. Baushke) Newsgroups: comp.emacs Subject: Re: autoloading [+ Proposal for new load function] Message-ID: <8710291920.AA25089@amadeus.silvlis.com> Date: Thu, 29-Oct-87 14:20:17 EST Article-I.D.: amadeus.8710291920.AA25089 Posted: Thu Oct 29 14:20:17 1987 Date-Received: Wed, 4-Nov-87 01:50:35 EST Sender: daemon@eddie.MIT.EDU Organization: Silvar-Lisco, 1080 Marsh Road, Menlo Park, CA 94025-1053 Lines: 26 > From: grover%potomac.UUCP@YALE.ARPA (Mark D. Grover) > Date: 27 Oct 87 14:51:24 GMT > > I have extra stuff (modified definitions) that I want to load after > the normal autoloading of the rmail system. How do I do this? When I make customizations to packages like rmail.el, I use the hook provided (c.f., rmail-mode-hook). For example, in ~/.emacs I put something like this: (defun rmail-mode-hook-extras () "load personal rmail extras" (load-library "rmail-extra") (load-library "misc-tools")) (setq rmail-mode-hook 'rmail-mode-hook-extras) everytime I do a "rmail" command, these libraries get loaded (as that is when the hook is run). Of course, some things don't have hooks. Then I usually force loading the standard (if it is not already loaded) and redefine what I want redefined. Mark Baushke UUCP: ...!sun!silvlis!mdb