Created
June 8, 2015 11:41
-
-
Save saevarb/22edb1772dc2ab94b7ca to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(if (fboundp 'with-eval-after-load) | |
(defmacro after (feature &rest; body) | |
"After FEATURE is loaded, evaluate BODY." | |
(declare (indent defun)) | |
`(with-eval-after-load ,feature ,@body)) | |
(defmacro after (feature &rest; body) | |
"After FEATURE is loaded, evaluate BODY." | |
(declare (indent defun)) | |
`(eval-after-load ,feature | |
'(progn ,@body)))))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment