1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-06 14:30:50 -08:00

Normalize errors should be errors, that are then caught by :catch

This commit is contained in:
John Wiegley 2017-12-05 13:11:17 -08:00
parent 0a628a2767
commit 725d749b7c

View file

@ -478,10 +478,7 @@ extending any keys already present."
(funcall merge-function keyword
arg (plist-get plist keyword))
arg)))
(ignore
(display-warning 'use-package
(format "Unrecognized keyword: %s" keyword)
:warning))))))
(use-package-error (format "Unrecognized keyword: %s" keyword))))))
(defun use-package-unalias-keywords (name args)
(setq args (cl-nsubstitute :if :when args))