From a1c4e6d0aba966aec122e396376995c28dd81098 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Fri, 26 Feb 2016 16:18:21 -0800 Subject: [PATCH] Normalize some error text --- lisp/use-package/use-package.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/use-package/use-package.el b/lisp/use-package/use-package.el index 0767d8e7fb0..9437c217353 100644 --- a/lisp/use-package/use-package.el +++ b/lisp/use-package/use-package.el @@ -740,7 +740,7 @@ function for a particular keymap. The keymap is expected to be defined by the package. In this way, loading the package is deferred until the prefix key sequence is pressed." (if (not (require package nil t)) - (use-package-error (format "Could not load package.el: %s" package)) + (use-package-error (format "Cannot load package.el: %s" package)) (if (and (boundp keymap-symbol) (keymapp (symbol-value keymap-symbol))) (let* ((kv (this-command-keys-vector)) @@ -986,7 +986,7 @@ deferred until the prefix key sequence is pressed." config-body) `((if (not ,(use-package-load-name name t)) (ignore - (message (format "Could not load %s" ',name))) + (message (format "Cannot load %s" ',name))) ,@config-body))))))) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -- 2.39.2