]> git.eshelyaron.com Git - emacs.git/commit
Attempt to recognise if a VC package has no Elisp files
authorPhilip Kaludercic <philipk@posteo.net>
Thu, 16 Feb 2023 10:11:23 +0000 (11:11 +0100)
committerPhilip Kaludercic <philipk@posteo.net>
Thu, 16 Feb 2023 10:11:23 +0000 (11:11 +0100)
commit1c9d81a2b4272200082fc185880856866c0588e1
tree62c7cfd48f10f87fe848e71a05a3e8a7d5a19666
parent2550e8bb0b03ee1c2c7a17d56c9f578bbbf1a9da
Attempt to recognise if a VC package has no Elisp files

* lisp/emacs-lisp/package-vc.el (package-vc-non-code-file-names): Add
new variable used to avoid false-positives.
(package-vc--unpack): Recursively search for .el files excluding the
ones listed in 'package-vc-non-code-file-names', offering to abort the
installation if none are found.
lisp/emacs-lisp/package-vc.el