Fix error in doom/help-packages for gnu packages
Due to validation checking for the wrong strings. Also extends support for user-supplied archives (though the link may not be as helpful).
This commit is contained in:
parent
468e630110
commit
c99c184f85
1 changed files with 5 additions and 3 deletions
|
@ -523,11 +523,13 @@ If prefix arg is present, refresh the cache."
|
|||
("org" "https://orgmode.org")
|
||||
((or "melpa" "melpa-mirror")
|
||||
(format "https://melpa.org/#/%s" package))
|
||||
("elpa"
|
||||
("gnu"
|
||||
(format "https://elpa.gnu.org/packages/%s.html" package))
|
||||
(archive
|
||||
(if-let (src (cdr (assoc package package-archives)))
|
||||
(format "%s" src)
|
||||
(user-error "%S isn't installed through any known source (%s)"
|
||||
package archive)))))
|
||||
package archive))))))
|
||||
((user-error "Cannot find the homepage for %S" package))))
|
||||
|
||||
;;;###autoload
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue