summaryrefslogtreecommitdiff
path: root/test/lisp/emacs-lisp
diff options
context:
space:
mode:
authorPhilip Kaludercic <philipk@posteo.net>2022-10-18 22:34:11 +0200
committerPhilip Kaludercic <philipk@posteo.net>2022-10-18 22:35:25 +0200
commit5d60ea47f6625dc7da6ceb475dc624e33deb198f (patch)
treeed5150fc11b0a130d5a48b2f8bb774e18b308d4b /test/lisp/emacs-lisp
parent65fa87329ce577d1ee907c0716b48aac8c0d7d27 (diff)
downloademacs-5d60ea47f6625dc7da6ceb475dc624e33deb198f.tar.gz
emacs-5d60ea47f6625dc7da6ceb475dc624e33deb198f.tar.bz2
emacs-5d60ea47f6625dc7da6ceb475dc624e33deb198f.zip
Use 'elpa-packages' files for VC metadata
* lisp/emacs-lisp/package-vc.el (package-vc-default-backend): Add new option. (package-vc-archive-spec-alist): Add new variable to store the contents of 'elpa-packages' for each archive. (pacakge-vc-desc->spec): Add function to query package specifications. (package-vc--read-archive-data): Add a 'package-read-archive-hook' implementation. (package-vc--download-and-read-archives): Add a 'package-refresh-contents-hook' implementation. (package-vc-main-file): Remove function. (package-vc-generate-description-file): Use package specifications. (package-vc-unpack-1): Adapt to previous changes. (package-vc-unpack): Adapt to previous changes. (package-vc-sourced-packages-list): Adapt to previous changes. (package-vc-install): Adapt to previous changes. * lisp/emacs-lisp/package.el (package-read-archive-hook): Allow extending 'package-read-all-archive-contents' using a hook. (package-read-all-archive-contents): Use 'package-read-archive-hook'. (package-refresh-contents-hook): Allow extending 'package-refresh-contents' using a hook. (package-refresh-contents): Use 'package-refresh-contents-hook'.
Diffstat (limited to 'test/lisp/emacs-lisp')
0 files changed, 0 insertions, 0 deletions