mirror of
https://github.com/dimitri/el-get.git
synced 2024-09-29 04:58:53 +08:00
Do quote-stripping using eval, not cdr
This commit is contained in:
parent
9d51738a20
commit
6f60c5ba4e
|
@ -357,7 +357,7 @@ which defaults to the first element in `el-get-recipe-path'."
|
|||
"`eval' FORM for PACKAGE and report about FNAME when `el-get-verbose'"
|
||||
(let* (;; Auto-strip quoting from form before doing anything else
|
||||
(form (if (equal (car-safe form) 'quote)
|
||||
(prog1 (cdr form)
|
||||
(prog1 (eval form)
|
||||
(warn "The :%s form for package %s is quoted unnecessarily."
|
||||
fname package))
|
||||
form))
|
||||
|
|
Loading…
Reference in New Issue
Block a user