mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-06 06:20:55 -08:00
Fix to :ensure normalization
This commit is contained in:
parent
a6edb08122
commit
71f894fe78
1 changed files with 5 additions and 4 deletions
|
|
@ -241,14 +241,15 @@ then the expanded macros do their job silently."
|
|||
#'use-package-normalize-value)))
|
||||
|
||||
(:ensure
|
||||
(use-package-only-one (symbol-name head) args
|
||||
(if (null args)
|
||||
t
|
||||
(if (null args)
|
||||
t
|
||||
(use-package-only-one (symbol-name head) args
|
||||
(lambda (label arg)
|
||||
(if (symbolp arg)
|
||||
arg
|
||||
(use-package-error
|
||||
":ensure wants an optional package name (a unquoted symbol name)"))))))
|
||||
(concat ":ensure wants an optional package name "
|
||||
"(an unquoted symbol name)")))))))
|
||||
|
||||
((or :if :when :unless)
|
||||
(use-package-only-one (symbol-name head) args
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue