Ce serveur Gitlab sera éteint le 30 juin 2020, pensez à migrer vos projets vers les serveurs gitlab-research.centralesupelec.fr et gitlab-student.centralesupelec.fr !

Commit ea845589 authored by Rüdiger Sonderfeld's avatar Rüdiger Sonderfeld

Handle :builtin correctly in `el-get-describe'.

So far :builtin is ignored by `el-get-describe' and the regular
install method is always displayed.  With this patch the builtin
information is instead displayed.
Signed-off-by: 's avatarRüdiger Sonderfeld <ruediger@c-plusplus.de>
parent 628c06cf
...@@ -81,7 +81,8 @@ matching REGEX with TYPE and ARGS as parameter." ...@@ -81,7 +81,8 @@ matching REGEX with TYPE and ARGS as parameter."
(name (plist-get def :name)) (name (plist-get def :name))
(website (plist-get def :website)) (website (plist-get def :website))
(descr (plist-get def :description)) (descr (plist-get def :description))
(type (plist-get def :type)) (type (el-get-package-method def))
(builtin (plist-get def :builtin))
(url (plist-get def :url)) (url (plist-get def :url))
(depends (plist-get def :depends))) (depends (plist-get def :depends)))
(princ (format "%s is an `el-get' package. It is currently %s " name (princ (format "%s is an `el-get' package. It is currently %s " name
...@@ -121,8 +122,10 @@ matching REGEX with TYPE and ARGS as parameter." ...@@ -121,8 +122,10 @@ matching REGEX with TYPE and ARGS as parameter."
(format "`%s'" depends) "`\\([^`']+\\)" (format "`%s'" depends) "`\\([^`']+\\)"
'el-get-help-describe-package depends)) 'el-get-help-describe-package depends))
(princ ".\n")) (princ ".\n"))
(princ (format "The default installation method is %s %s\n\n" type (if (eq type 'builtin)
(if url (format "from %s" url) ""))) (princ (format "The package is built in since Emacs %s.\n\n" builtin))
(princ (format "The default installation method is %s %s\n\n" type
(if url (format "from %s" url) ""))))
(princ "Full definition") (princ "Full definition")
(let ((file (el-get-recipe-filename package))) (let ((file (el-get-recipe-filename package)))
(if (not file) (if (not file)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment