From ed045012a57eb841a0dfb4124ee958b193fb8238 Mon Sep 17 00:00:00 2001 From: jjanzen Date: Wed, 8 Jan 2025 08:54:44 -0600 Subject: system changes --- common/.config/emacs/init.el.org | 40 +++++++++++++++++----------------------- 1 file changed, 17 insertions(+), 23 deletions(-) (limited to 'common') 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 -- cgit v1.2.3