projects
/
~bandali
/
configs
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
df1c9bc
)
emacs: uncomment and rewrite no-package-initialize thingy
author
Amin Bandali
<bandali@gnu.org>
Sun, 12 May 2019 04:43:56 +0000
(
00:43
-0400)
committer
Amin Bandali
<bandali@gnu.org>
Sun, 12 May 2019 04:43:56 +0000
(
00:43
-0400)
haven’t tested it on <27 though
.emacs.d/init.el
patch
|
blob
|
blame
|
history
diff --git
a/.emacs.d/init.el
b/.emacs.d/init.el
index
7c83bfb
..
8d80538
100644
(file)
--- 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)
;; 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)
)
(setq package-enable-at-startup nil)
;; (package-initialize)
)