]> git.eshelyaron.com Git - emacs.git/commit
elide-head: Make GPL regexp more forgiving
authorStefan Kangas <stefan@marxist.se>
Mon, 3 Jan 2022 08:02:29 +0000 (09:02 +0100)
committerStefan Kangas <stefan@marxist.se>
Mon, 3 Jan 2022 08:04:09 +0000 (09:04 +0100)
commitbd9a09bb6b9d636386b8336089e21f0ec15091cf
tree377bf64e7990a8652d9c9efd1e4f1558cf6ec4cb
parent61c35e415cd4c8046f9b08c29f97a7cf29640c94
elide-head: Make GPL regexp more forgiving

* lisp/elide-head.el (elide-head-headers-to-hide): Make GPL regexp
more forgiving.
* test/lisp/elide-head-tests.el (elide-head--add-test): New macro.
(elide-head--test-headers-to-hide/gpl2-1)
(elide-head--test-headers-to-hide/gpl3-1)
(elide-head--test-headers-to-hide/gpl3-2)
(elide-head--test-headers-to-hide/gpl3-3)
(elide-head--test-headers-to-hide/gpl3-4): New tests.
lisp/elide-head.el
test/lisp/elide-head-tests.el