summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmin Bandali <bandali@gnu.org>2019-05-12 00:43:56 -0400
committerAmin Bandali <bandali@gnu.org>2019-05-12 00:43:56 -0400
commit1684239430ac6fede09fbb0ebfd20fa6cba5da6d (patch)
tree16ce4756dede603a2858e0ebc43fa731e2f4916f
parentdf1c9bc88af9d0953ce24d91d25678a4794875e5 (diff)
downloadconfigs-1684239430ac6fede09fbb0ebfd20fa6cba5da6d.tar.gz
configs-1684239430ac6fede09fbb0ebfd20fa6cba5da6d.tar.xz
configs-1684239430ac6fede09fbb0ebfd20fa6cba5da6d.zip
emacs: uncomment and rewrite no-package-initialize thingy
haven’t tested it on <27 though
Diffstat (limited to '')
-rw-r--r--.emacs.d/init.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/.emacs.d/init.el b/.emacs.d/init.el
index 7c83bfb..8d80538 100644
--- a/.emacs.d/init.el
+++ b/.emacs.d/init.el
@@ -93,7 +93,9 @@
;; Not necessary when using straight.el
;; (C-h v straight-package-neutering-mode RET)
-(comment
+(when (and
+ (not (featurep 'straight))
+ (version< emacs-version "27"))
(setq package-enable-at-startup nil)
;; (package-initialize)
)