Skip to content

Commit

Permalink
package-build-dump-archive-contents: Cosmetics
Browse files Browse the repository at this point in the history
`string<' on its own deals symbols.
  • Loading branch information
tarsius committed Oct 2, 2023
1 parent a60f0b5 commit f62c5b6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions package-build.el
Original file line number Diff line number Diff line change
Expand Up @@ -1578,8 +1578,7 @@ If optional PRETTY-PRINT is non-nil, then pretty-print
,@(when-let* ((branch (oref recipe branch)))
(list :branch branch)))
vc-pkgs))))))
(setq entries (cl-sort entries #'string<
:key (lambda (e) (symbol-name (car e)))))
(setq entries (cl-sort entries #'string< :key #'car))
(with-temp-file (or file (expand-file-name "archive-contents"))
(let ((print-level nil)
(print-length nil))
Expand Down

0 comments on commit f62c5b6

Please sign in to comment.