emacs: uncomment and rewrite no-package-initialize thingy
authorAmin Bandali <bandali@gnu.org>
Sun, 12 May 2019 04:43:56 +0000 (00:43 -0400)
committerAmin 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

index 7c83bfb..8d80538 100644 (file)
@@ -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)
   )