Go to the previous, next section.
You can ask for code to be executed if and when a particular library is
loaded, by calling eval-after-load.
Function: eval-after-load library form
This function arranges to evaluate form at the end of loading the library library, if and when library is loaded.
The library name library must exactly match the argument of
load. To get the proper results when an installed library is
found by searching load-path, you should not include any
directory names in library.
An error in form does not undo the load, but does prevent execution of the rest of form.
An alist of expressions to evaluate if and when particular libraries are loaded. Each element looks like this:
(filename forms...)
The function load checks after-load-alist in order to
implement eval-after-load.
Go to the previous, next section.