summaryrefslogtreecommitdiff
path: root/.emacs
diff options
context:
space:
mode:
authorKévin Le Gouguec <kevin.legouguec@gmail.com>2021-04-27 22:47:53 +0200
committerKévin Le Gouguec <kevin.legouguec@gmail.com>2021-04-27 22:47:53 +0200
commitce9b3d4d27268e5123535f348ea3f0f8f553f972 (patch)
tree8a526e87d23550c1ce79bba9a9ec6da8768b661f /.emacs
parent675c353401c0efb12c0d6cfe1981208d9df1c0c3 (diff)
downloaddotfiles-ce9b3d4d27268e5123535f348ea3f0f8f553f972.tar.xz
Tweak Emacs config
- install async for paradox; sort package list - don't load Modus theme if it is not builtin
Diffstat (limited to '.emacs')
-rw-r--r--.emacs3
1 files changed, 2 insertions, 1 deletions
diff --git a/.emacs b/.emacs
index 273f6a5..cce77e3 100644
--- a/.emacs
+++ b/.emacs
@@ -236,7 +236,8 @@
;; Window management
(when window-system
- (load-theme 'modus-vivendi t)
+ (when (>= emacs-major-version 28)
+ (load-theme 'modus-vivendi t))
;; Bindings ala Terminator
(global-set-key (kbd "C-S-o") 'split-window-below)
(global-set-key (kbd "C-S-e") 'split-window-right)