summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJSDurand <mmemmew@gmail.com>2023-02-21 16:23:58 +0800
committerJSDurand <mmemmew@gmail.com>2023-02-21 16:23:58 +0800
commit5898797a1ad1cd5d886cc1351486baabdfa5742a (patch)
tree3a648d21998d38cb9b49e75ad7d160ee99ff9199
parentd5e155998d9c0dcd54d69491162f96c5bf188198 (diff)
basic: use `eval-after-load`
* basic.el (Info-directory-list): It seems better to use `eval-after-load'.
-rw-r--r--basic.el7
1 files changed, 4 insertions, 3 deletions
diff --git a/basic.el b/basic.el
index 43c98ac..fbd3b6f 100644
--- a/basic.el
+++ b/basic.el
@@ -118,9 +118,10 @@
;;; set info directory
-(add-to-list
- 'Info-directory-list
- "/Users/durand/w.emacs.d/emacs/info/")
+(eval-after-load "info"
+ '(add-to-list
+ 'Info-directory-list
+ "/Users/durand/w.emacs.d/emacs/info/"))
;;; bookmark