]> git.eshelyaron.com Git - emacs.git/commit
Allow years in a copyright range to be separated by en dashes.
authorPhilipp Stephani <phst@google.com>
Tue, 25 May 2021 12:03:03 +0000 (14:03 +0200)
committerPhilipp Stephani <phst@google.com>
Tue, 25 May 2021 12:04:06 +0000 (14:04 +0200)
commit7a46fa9c751f7c3147cd9b27fe84c1ce25419d3b
tree5b1dd99b553cddcc38e7a37aa648cae17a71bd0a
parent75604f882ab6744d3a35901eb355ebc20c29e850
Allow years in a copyright range to be separated by en dashes.

* lisp/emacs-lisp/copyright.el (copyright-regexp)
(copyright-years-regexp, copyright-update-year)
(copyright-fix-years): Also include en dash.

* test/lisp/emacs-lisp/copyright-tests.el (copyright-tests--data): New
test cases.
lisp/emacs-lisp/copyright.el
test/lisp/emacs-lisp/copyright-tests.el