Skip to content

Commit

Permalink
[bot] built_in_updates (syl20bnr#15702)
Browse files Browse the repository at this point in the history
Co-authored-by: SpacemacsBot <not@an.actual.email.beep.boop>
  • Loading branch information
SpacemacsBot and SpacemacsBot committed Aug 16, 2022
1 parent f63d3c4 commit d417677
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions core/libs/package-build.el
Original file line number Diff line number Diff line change
Expand Up @@ -693,9 +693,9 @@ then show a warning.
A files specification is a list. Its elements are processed in
order and can have the following form:
- :default
- :defaults
If the very first element of the top-level SPEC is `:default',
If the very first element of the top-level SPEC is `:defaults',
then that means to prepend the default file spec to the SPEC
specified by the remaining elements.
Expand All @@ -721,7 +721,7 @@ order and can have the following form:
\(fn RCP &optional ASSERT)" ; Other arguments only for backward compat.
(let ((default-directory (or repo (package-recipe--working-tree rcp)))
(spec (or spec (oref rcp files))))
(when (eq :defaults (car spec))
(when (eq (car spec) :defaults)
(setq spec (append package-build-default-files-spec (cdr spec))))
(let ((files (package-build--expand-files-spec-1
(or spec package-build-default-files-spec))))
Expand Down

0 comments on commit d417677

Please sign in to comment.