summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJSDurand <mmemmew@gmail.com>2023-07-30 13:52:29 +0800
committerJSDurand <mmemmew@gmail.com>2023-07-30 13:52:29 +0800
commitb2907e2a5f2f49b69bce648bcc726e94775e19f7 (patch)
treef8f9719001441ae4edd53f030a0a16abfb2b7391
parente8f8565d7dccadfaceb682fafa52b3f4e6ea7dd9 (diff)
init: run outline even at the first time
* init.el (durand-maybe-enable-outline): Previously when we enable outline-minor-mode for the first time, it would not be turned on. Now this is fixed. And the same thing for vterm.
-rw-r--r--init.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/init.el b/init.el
index 5fad3cb..75d3ffd 100644
--- a/init.el
+++ b/init.el
@@ -203,7 +203,8 @@ no effect."
;;; outline
(load-after-function durand-maybe-enable-outline "outline-conf.el"
- "Load my outline configurations" nil)
+ "Load my outline configurations" nil
+ (durand-maybe-enable-outline))
;;; bongo
@@ -463,7 +464,8 @@ no effect."
(define-key global-map (vector 3 ?w ?j) #'durand-prepare-wifi-bluetooth)
(load-after-function
- vterm "vtem-conf.el" "Load Vterm terminal emulator." nil)
+ vterm "vterm-conf.el" "Load Vterm terminal emulator." nil
+ (vterm))
;;; server