mirror of
https://github.com/masscollaborationlabs/emacs.git
synced 2025-07-04 19:29:37 +00:00
Merge pull request from sdwolfz/native-compiler-warning
GitHub-reference: https://github.com/jwiegley/use-package/issues/997
This commit is contained in:
commit
d4aeda77a9
1 changed files with 3 additions and 3 deletions
|
@ -910,12 +910,12 @@ If RECURSED is non-nil, recurse into sublists."
|
|||
sym
|
||||
\\='sym
|
||||
(quote sym)
|
||||
#'sym
|
||||
#\\='sym
|
||||
(function sym)
|
||||
(lambda () ...)
|
||||
\\='(lambda () ...)
|
||||
(quote (lambda () ...))
|
||||
#'(lambda () ...)
|
||||
#\\='(lambda () ...)
|
||||
(function (lambda () ...))"
|
||||
(or (if binding
|
||||
(symbolp v)
|
||||
|
@ -930,7 +930,7 @@ If RECURSED is non-nil, recurse into sublists."
|
|||
(defun use-package-normalize-function (v)
|
||||
"Reduce functional constructions to one of two normal forms:
|
||||
sym
|
||||
#'(lambda () ...)"
|
||||
#\\='(lambda () ...)"
|
||||
(cond ((symbolp v) v)
|
||||
((and (listp v)
|
||||
(memq (car v) '(quote function))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue