emacs-lisp/package.el (package-delete): Document NOSAVE.

This commit is contained in:
Artur Malabarba 2015-02-03 11:19:56 +00:00
parent 88acd70e67
commit 0ee15a20bc
2 changed files with 8 additions and 2 deletions

View file

@ -1,3 +1,7 @@
2015-02-03 Artur Malabarba <bruce.connor.am@gmail.com>
* emacs-lisp/package.el (package-delete): Document NOSAVE.
2015-02-03 Thierry Volpiatto <thierry.volpiatto@gmail.com>
* emacs-lisp/package.el (package-reinstall): Don't change package's selected status.

View file

@ -1477,8 +1477,10 @@ with PKG-DESC entry removed."
Argument PKG-DESC is a full description of package as vector.
When package is used elsewhere as dependency of another package,
refuse deleting it and return an error.
If FORCE is non--nil package will be deleted even if it is used
elsewhere."
If FORCE is non-nil package will be deleted even if it is used
elsewhere.
If NOSAVE is non-nil, the package is not removed from
`package-selected-packages'."
(let ((dir (package-desc-dir pkg-desc))
(name (package-desc-name pkg-desc))
pkg-used-elsewhere-by)