I don't know how to check if eval-after-load
works or not.
I used the following code to check if FORM is loaded
(eval-after-load 'org
(message "loaded!"))
After the above is evaluated, I tried the following
- reload org buffer
(require 'org)
(load-file "path/to/org")
None of the above display "loaded!"
message.
(message "loaded!")
is found in after-load-alist
.
the question is
- how do I use
eval-after-load
andwith-eval-after-load
. - How do I check if
FORM
is loaded.