From 9760f535005927708a892cbc03fa7217e77aca2b Mon Sep 17 00:00:00 2001 From: JSDurand Date: Mon, 6 Sep 2021 14:13:09 +0800 Subject: 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. --- init.el | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3-18-g5258