aboutsummaryrefslogtreecommitdiffstats
path: root/emacs
diff options
context:
space:
mode:
authorYann Herklotz <git@yannherklotz.com>2019-07-25 13:36:34 +0200
committerYann Herklotz <git@yannherklotz.com>2019-07-25 13:36:34 +0200
commit2574dc30cb2ceb1c303d8149cf8b7d0b4e8e8db9 (patch)
treefc7c61f58065b09ed8444e389f80f89d420f09f8 /emacs
parent19b94834f787b9c51cc23d90ccbe1c2b48e1402f (diff)
downloaddotfiles-2574dc30cb2ceb1c303d8149cf8b7d0b4e8e8db9.tar.gz
dotfiles-2574dc30cb2ceb1c303d8149cf8b7d0b4e8e8db9.zip
Change check for running server to fix the scroll-bar mode
Diffstat (limited to 'emacs')
-rw-r--r--emacs/loader.org8
1 files changed, 4 insertions, 4 deletions
diff --git a/emacs/loader.org b/emacs/loader.org
index 587fb2c..5766b55 100644
--- a/emacs/loader.org
+++ b/emacs/loader.org
@@ -1317,18 +1317,18 @@ Keybindings
(before theme-dont-propagate activate)
(mapc #'disable-theme custom-enabled-themes))
- (if (daemonp)
+ (if server-process
(add-hook 'after-make-frame-functions
(lambda (frame)
(select-frame frame)
- (load-theme 'gruvbox-light-soft t)
+ (load-theme 'sanityinc-tomorrow-night t)
(toggle-scroll-bar -1)))
- (progn (load-theme 'gruvbox-light-soft t)
+ (progn (load-theme 'sanityinc-tomorrow-night t)
(toggle-scroll-bar -1)))
#+END_SRC
#+RESULTS:
-| (lambda (frame) (select-frame frame) (load-theme (quote doom-one) t) (toggle-scroll-bar -1)) | (lambda (frame) (select-frame frame) (load-theme (quote inkpot) t) (toggle-scroll-bar -1)) | x-dnd-init-frame |
+| (lambda (frame) (select-frame frame) (load-theme (quote sanityinc-tomorrow-night) t) (toggle-scroll-bar -1)) | (lambda (frame) (select-frame frame) (load-theme (quote gruvbox-light-soft) t) (toggle-scroll-bar -1)) | x-dnd-init-frame |
* Conclusion
Setting the gc-cons threshold back to what it was at the beginning.