aboutsummaryrefslogtreecommitdiff
path: root/init-el.org
diff options
context:
space:
mode:
Diffstat (limited to 'init-el.org')
-rw-r--r--init-el.org4
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)