]> git.eshelyaron.com Git - emacs.git/commit
Add new function `lm-package-needs-footer-line`
authorStefan Kangas <stefankangas@gmail.com>
Sat, 6 Jul 2024 14:41:33 +0000 (16:41 +0200)
committerEshel Yaron <me@eshelyaron.com>
Sun, 7 Jul 2024 13:16:57 +0000 (15:16 +0200)
commitd092d361708c7e99b2915ccc5b8bc025a697b165
treea2b9201aad79795e71bfa0b8d401599491c4830b
parent853dce91ccb0e1e2ee2bbdf52713b572e9712b18
Add new function `lm-package-needs-footer-line`

* lisp/emacs-lisp/lisp-mnt.el (lm-package-needs-footer-line):
Factor out new function...
* lisp/emacs-lisp/package.el (package-buffer-info): ...from here.
* lisp/emacs-lisp/lisp-mnt.el (lm-verify): Use above new function.
* test/lisp/emacs-lisp/lisp-mnt-tests.el
(lm-tests--lm-package-needs-footer-line/empty-dependencies)
(lm-tests--lm-package-needs-footer-line/old-version)
(lm-tests--lm-package-needs-footer-line/new-version):
New tests.

(cherry picked from commit c302c5fab0c8dee12e7b19925452871ddb09c0b2)
lisp/emacs-lisp/lisp-mnt.el
lisp/emacs-lisp/package.el
test/lisp/emacs-lisp/lisp-mnt-tests.el