From: John Wiegley Date: Sat, 27 Feb 2016 00:18:21 +0000 (-0800) Subject: Normalize some error text X-Git-Tag: emacs-29.0.90~1306^2~15^2~300 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a1c4e6d0ab;p=emacs.git Normalize some error text --- 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))))))) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;