diff options
author | colin <colin@cicadas.surf> | 2022-09-14 13:24:28 -0500 |
---|---|---|
committer | colin <colin@cicadas.surf> | 2022-09-14 13:24:28 -0500 |
commit | 6eecdcd8f3a1b8e679a2ee24e00234c350562d7e (patch) | |
tree | ddb488bbf7d06f70d4c7787f7b394512e2015cf7 | |
parent | 56f3fafb990170ff58de750a0f8e058665d7c71f (diff) |
tweaked my-package-install for org
-rw-r--r-- | init-el.org | 4 |
1 files 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) |