summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--lisp/acdw-setup.el6
1 files changed, 6 insertions, 0 deletions
diff --git a/lisp/acdw-setup.el b/lisp/acdw-setup.el index a096c98..10a2b52 100644 --- a/lisp/acdw-setup.el +++ b/lisp/acdw-setup.el
@@ -30,6 +30,12 @@
30:type - Either `nil', `keymap', or `macro': see `autoload' for details." 30:type - Either `nil', `keymap', or `macro': see `autoload' for details."
31 :repeatable t) 31 :repeatable t)
32 32
33(setup-define :require-after
34 (lambda (seconds)
35 `(run-with-idle-timer ,seconds nil
36 #'require ',(setup-get 'feature) nil t))
37 :documentation "Requre FEATURE, after SECONDS idle time.")
38
33(setup-define :face 39(setup-define :face
34 (lambda (face spec) 40 (lambda (face spec)
35 `(custom-set-faces '(,face ,spec 'now "Customized by `setup'."))) 41 `(custom-set-faces '(,face ,spec 'now "Customized by `setup'.")))