Add org elpa archive + update lang/org #327
Now that the org ELPA archive has https support, we can add it to package-archives. This fixes some 'org is unavailable' errors when installing org packages that have declared earlier versions of org as a dependency. This also makes installing a newer version of org-mode much simpler. Woo!
This commit is contained in:
parent
7556762d98
commit
2598d48bba
3 changed files with 8 additions and 10 deletions
|
@ -4,9 +4,10 @@
|
|||
"The directory where org files are kept.")
|
||||
|
||||
;; Ensure ELPA org is prioritized above built-in org.
|
||||
(when-let* ((path (locate-library "org" nil doom--package-load-path)))
|
||||
(setq load-path (delete path load-path))
|
||||
(push (file-name-directory path) load-path))
|
||||
(when-let* ((path (locate-library "org" nil doom--base-load-path)))
|
||||
(setq load-path
|
||||
(delete (substring (file-name-directory path) 0 -1)
|
||||
load-path)))
|
||||
|
||||
;; Sub-modules
|
||||
(if (featurep! +attach) (load! +attach))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue