summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJSDurand <mmemmew@gmail.com>2021-09-06 14:13:09 +0800
committerJSDurand <mmemmew@gmail.com>2021-09-06 14:13:09 +0800
commit9760f535005927708a892cbc03fa7217e77aca2b (patch)
tree1903ca958e013aa94c6d89111051c23ecdf05021
parent2c4f4538a927b62c01ee61c8c141a98965670d9e (diff)
load outline-conf in the activation function
* init.el (durand-maybe-enable-outline): This is the activation function for outline-minor-mode, for me. So it makes sense to define this initially as a function to load my configurations, so that I can use the functionalities even if I haven't loaded my configurations yet.
-rw-r--r--init.el7
1 files changed, 6 insertions, 1 deletions
diff --git a/init.el b/init.el
index 089871b..78e13bf 100644
--- a/init.el
+++ b/init.el
@@ -158,10 +158,15 @@ no effect."
(add-to-list 'auto-mode-alist (cons "\\.fs$" #'glsl-mode))
(add-to-list 'auto-mode-alist (cons "\\.vs$" #'glsl-mode))
-;;;; rainbow-mode
+;;; rainbow-mode
(use-package "rainbow-mode" 'rainbow-mode)
+;;; outline
+
+(load-after-function durand-maybe-enable-outline "outline-conf.el"
+ "Load my outline configurations" nil)
+
;;; bongo
;;;###autoload