1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

* admin/scrape-elpa.el (scrape-elpa): Sort output

This commit is contained in:
Philip Kaludercic 2025-09-02 15:50:38 +02:00
parent 055ee29eb4
commit 37b89edc77

View file

@ -75,7 +75,10 @@ Please review the results before updating the autosuggest database!"
(prin1 (append (list pkg variable regexp)
(and (not (eq pkg mode)) (list mode))))))))
(end-of-file nil))))))
(insert "\n)\n")))
(insert "\n)\n")
(save-mark-and-excursion
(mark-sexp -1)
(sort-lines nil (region-beginning) (region-end)))))
(provide 'scrape-elpa)
;;; scrape-elpa.el ends here