aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--common/.config/emacs/init.el.org40
1 files changed, 17 insertions, 23 deletions
diff --git a/common/.config/emacs/init.el.org b/common/.config/emacs/init.el.org
index 737c129..21a7841 100644
--- a/common/.config/emacs/init.el.org
+++ b/common/.config/emacs/init.el.org
@@ -28,29 +28,23 @@ Suppress native compilation warnings and errors. Native compilation seems to be
Bootstrap package management. I use =straight= with =use-package= to allow declarative package management and include =git= repositories in addition to =elpa= / =melpa=.
#+begin_src emacs-lisp
- ;; (defvar bootstrap-version)
- ;; (let ((bootstrap-file
- ;; (expand-file-name
- ;; "straight/repos/straight.el/bootstrap.el"
- ;; (or (bound-and-true-p straight-base-dir)
- ;; user-emacs-directory)))
- ;; (bootstrap-version 7))
- ;; (unless (file-exists-p bootstrap-file)
- ;; (with-current-buffer
- ;; (url-retrieve-synchronously
- ;; "https://raw.githubusercontent.com/radian-software/straight.el/develop/install.el"
- ;; 'silent 'inhibit-cookies)
- ;; (goto-char (point-max))
- ;; (eval-print-last-sexp)))
- ;; (load bootstrap-file nil ':nomessage))
- ;; (straight-use-package 'use-package)
- ;; (setq straight-use-package-by-default t
- (unless (package-installed-p 'use-package)
- (package-refresh-contents)
- (package-install 'use-package))
- (eval-and-compile
- (setq use-package-always-ensure t
- use-package-expand-minimally t))
+ (defvar bootstrap-version)
+ (let ((bootstrap-file
+ (expand-file-name
+ "straight/repos/straight.el/bootstrap.el"
+ (or (bound-and-true-p straight-base-dir)
+ user-emacs-directory)))
+ (bootstrap-version 7))
+ (unless (file-exists-p bootstrap-file)
+ (with-current-buffer
+ (url-retrieve-synchronously
+ "https://raw.githubusercontent.com/radian-software/straight.el/develop/install.el"
+ 'silent 'inhibit-cookies)
+ (goto-char (point-max))
+ (eval-print-last-sexp)))
+ (load bootstrap-file nil ':nomessage))
+ (straight-use-package 'use-package)
+ (setq straight-use-package-by-default t)
#+end_src
* Appearance