diff options
author | Stefan Kangas <stefankangas@gmail.com> | 2022-11-14 02:15:19 +0100 |
---|---|---|
committer | Stefan Kangas <stefankangas@gmail.com> | 2022-11-14 02:18:43 +0100 |
commit | ff30d22909194f818e5262537bcd045c4bf86e90 (patch) | |
tree | 9cc3ac2457e1fce0aa8d684dea29ce4c56b0279a /lisp/use-package/use-package-ensure.el | |
parent | 971634e3f9e5c539f8a0184ca4ec1c4a3f9495ec (diff) | |
download | emacs-ff30d22909194f818e5262537bcd045c4bf86e90.tar.gz emacs-ff30d22909194f818e5262537bcd045c4bf86e90.tar.bz2 emacs-ff30d22909194f818e5262537bcd045c4bf86e90.zip |
Various checkdoc fixes
Diffstat (limited to 'lisp/use-package/use-package-ensure.el')
-rw-r--r-- | lisp/use-package/use-package-ensure.el | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lisp/use-package/use-package-ensure.el b/lisp/use-package/use-package-ensure.el index 78a7e8be1e2..a879c294dc3 100644 --- a/lisp/use-package/use-package-ensure.el +++ b/lisp/use-package/use-package-ensure.el @@ -37,7 +37,7 @@ (require 'use-package-core) (defgroup use-package-ensure nil - "Support for :ensure and :pin keywords in use-package declarations." + "Support for :ensure and :pin keywords in `use-package' declarations." :group 'use-package) (eval-when-compile @@ -64,7 +64,7 @@ to all `:ensure' keywords (always a list, even if only one); and the current `state' plist created by previous handlers. Note that this function is called whenever `:ensure' is provided, -even if it is nil. It is up to the function to decide on the +even if it is nil. It is up to the function to decide on the semantics of the various values for `:ensure'. This function should return non-nil if the package is installed. @@ -111,7 +111,7 @@ manually updated package." (archive-name (if (stringp archive) archive (symbol-name archive)))) (if (use-package-archive-exists-p archive-symbol) (add-to-list 'package-pinned-packages (cons package archive-name)) - (error "Archive '%s' requested for package '%s' is not available." + (error "Archive '%s' requested for package '%s' is not available" archive-name package)) (unless (bound-and-true-p package--initialized) (package-initialize t)))) |