mirror of
https://github.com/doomemacs/doomemacs
synced 2025-09-20 16:11:07 -05:00
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:
@@ -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))
|
||||
|
Reference in New Issue
Block a user