diff options
author | John Wiegley <johnw@newartisans.com> | 2022-11-15 09:21:07 -0800 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2022-11-15 09:21:07 -0800 |
commit | 49fffe7cf4beb7b35d90758f4e6c24ebfe3615e1 (patch) | |
tree | 3b7699e4ffab2312c14f697da11059409ba4b86c /lisp/use-package/use-package-ensure.el | |
parent | ec96b4766418fdfce2d7827fa6ddeb7257ad6cf7 (diff) | |
parent | cf8ab8b52eae65a108d899e896e1171355122bb7 (diff) | |
download | emacs-49fffe7cf4beb7b35d90758f4e6c24ebfe3615e1.tar.gz emacs-49fffe7cf4beb7b35d90758f4e6c24ebfe3615e1.tar.bz2 emacs-49fffe7cf4beb7b35d90758f4e6c24ebfe3615e1.zip |
Merge remote-tracking branch 'origin/master' into pr-830
Diffstat (limited to 'lisp/use-package/use-package-ensure.el')
-rw-r--r-- | lisp/use-package/use-package-ensure.el | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lisp/use-package/use-package-ensure.el b/lisp/use-package/use-package-ensure.el index cb31b4b7dd4..a879c294dc3 100644 --- a/lisp/use-package/use-package-ensure.el +++ b/lisp/use-package/use-package-ensure.el @@ -1,6 +1,6 @@ ;;; use-package-ensure.el --- Support for the :ensure and :pin keywords -*- lexical-binding: t; -*- -;; Copyright (C) 2012-2017 John Wiegley +;; Copyright (C) 2012-2022 Free Software Foundation, Inc. ;; Author: John Wiegley <johnw@newartisans.com> ;; Maintainer: John Wiegley <johnw@newartisans.com> @@ -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)))) |