From 6eecdcd8f3a1b8e679a2ee24e00234c350562d7e Mon Sep 17 00:00:00 2001 From: colin Date: Wed, 14 Sep 2022 13:24:28 -0500 Subject: tweaked my-package-install for org --- init-el.org | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/init-el.org b/init-el.org index 9d7d589..7be3f5a 100644 --- a/init-el.org +++ b/init-el.org @@ -82,7 +82,7 @@ So, to use this file for the very first time you must (defun my-package-install (package &optional archive dont-select) "archive is a string naming the archive. Will attempt" (let* ((pkg-descs - (assoc package package-archive-contents)) + (cdr (assoc package package-archive-contents))) (desc (if archive (find archive pkg-descs :test 'equalp :key 'package-desc-archive)))) @@ -238,7 +238,7 @@ So, to use this file for the very first time you must #+name: org-mode-main-config #+begin_src elisp :noweb no-export :results none -(my-package-install 'org "melpa") +(my-package-install 'org "elpa") (require 'org) (setq org-duration-format 'h:mm) -- cgit v1.2.3