aboutsummaryrefslogtreecommitdiff
path: root/dot.emacs.d/init.el
diff options
context:
space:
mode:
authorThomas Schneider <qsx@qsx.re>2019-06-27 15:16:34 +0200
committerThomas Schneider <qsx@qsx.re>2019-06-27 15:16:34 +0200
commita07e65bfa25db1cd2b32477592b19c55d047fc00 (patch)
tree86dd9041d99a7030434ea2c47144f585397b621d /dot.emacs.d/init.el
parent6da1d29e1f4231ade86ef8dffddc82859e9ded2c (diff)
Emacs: Don’t install certain packages on Gentoo
This fixes d7afc3
Diffstat (limited to 'dot.emacs.d/init.el')
-rw-r--r--dot.emacs.d/init.el5
1 files changed, 3 insertions, 2 deletions
diff --git a/dot.emacs.d/init.el b/dot.emacs.d/init.el
index 2471931..3a8e58d 100644
--- a/dot.emacs.d/init.el
+++ b/dot.emacs.d/init.el
@@ -11,7 +11,8 @@
(or (and (eq ensure t) (use-package-as-symbol name))
ensure)))
(when package
- (if (memq package
+ (if (and (file-exists-p "/etc/gentoo-release")
+ (memq package
'(auctex
bison-mode
company
@@ -19,7 +20,7 @@
magit
markdown-mode
rust-mode
- yaml-mode))
+ yaml-mode)))
t
(use-package-ensure-elpa name args _state _no-refresh))))))
(unless (package-installed-p 'use-package)