* el-get-recipes.el (el-get-recipe-pprint): New function.
* el-get.el (el-get-write-recipe): Use it.
* el-get-list-packages.el (el-get-describe-1): Use it instead of princ.
(el-get-describe): Call el-get-describe-1 inside with-current-buffer
invocation, since el-get-recipe-pprint causes output to go straight to
the current buffer rather than standard-output.
Move more variables to el-get-custom.el, add requires or
declare-functions as needed.
There were a few places that appeared to be actual bugs: wrong or
missing variable names.
Since installation can be asynchronous, refreshing the menu at the end
of el-get-package-menu-execute doesn't help, therefore we update from
el-get-save-package-status instead.
If the package is installed `el-get-describe' will now show the
install path and provide an interface similar to `el-get-cd'.
Signed-off-by: Rüdiger Sonderfeld <ruediger@c-plusplus.de>
* el-get-list-packages.el (el-get-describe-1): Inform user about
minimum version requirement.
Signed-off-by: Rüdiger Sonderfeld <ruediger@c-plusplus.de>
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: Rüdiger Sonderfeld <ruediger@c-plusplus.de>
This prevents Emacs from inserting "..." in place of very deep or long
data structures, which could corrupt the status file in some cases.
This is done by defining a wrapper function "el-get-print-to-string",
which el-get should use for all "critical" stringification tasks.
As noted in #689.