summaryrefslogtreecommitdiff
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
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
-rw-r--r--.emacs3
-rw-r--r--.emacs-custom.el2
2 files changed, 3 insertions, 2 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)
diff --git a/.emacs-custom.el b/.emacs-custom.el
index 1a29a78..050436f 100644
--- a/.emacs-custom.el
+++ b/.emacs-custom.el
@@ -84,7 +84,7 @@
'(("melpa" . "https://melpa.org/packages/")
("gnu" . "https://elpa.gnu.org/packages/")))
'(package-selected-packages
- '(which-key debbugs eglot auctex diff-hl rg delight paradox flycheck magit markdown-mode page-break-lines rust-mode wgrep))
+ '(async auctex debbugs delight diff-hl eglot flycheck magit markdown-mode page-break-lines paradox rg rust-mode which-key wgrep))
'(page-break-lines-modes '(fundamental-mode text-mode prog-mode special-mode))
'(paradox-execute-asynchronously t)
'(paradox-github-token t)