diff options
author | Philipp Stephani <phst@google.com> | 2021-05-25 14:03:03 +0200 |
---|---|---|
committer | Philipp Stephani <phst@google.com> | 2021-05-25 14:04:06 +0200 |
commit | 7a46fa9c751f7c3147cd9b27fe84c1ce25419d3b (patch) | |
tree | 5b1dd99b553cddcc38e7a37aa648cae17a71bd0a /test/lisp/emacs-lisp/copyright-tests.el | |
parent | 75604f882ab6744d3a35901eb355ebc20c29e850 (diff) | |
download | emacs-7a46fa9c751f7c3147cd9b27fe84c1ce25419d3b.tar.gz emacs-7a46fa9c751f7c3147cd9b27fe84c1ce25419d3b.tar.bz2 emacs-7a46fa9c751f7c3147cd9b27fe84c1ce25419d3b.zip |
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.
Diffstat (limited to 'test/lisp/emacs-lisp/copyright-tests.el')
-rw-r--r-- | test/lisp/emacs-lisp/copyright-tests.el | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/lisp/emacs-lisp/copyright-tests.el b/test/lisp/emacs-lisp/copyright-tests.el index 7deb8b53a2e..6bb6e350d17 100644 --- a/test/lisp/emacs-lisp/copyright-tests.el +++ b/test/lisp/emacs-lisp/copyright-tests.el @@ -37,8 +37,12 @@ . ";; Copyright (C) 2017, 2019 Free Software Foundation, Inc.") (";; Copyright (C) 2017-2018 Free Software Foundation, Inc." . ";; Copyright (C) 2017-2019 Free Software Foundation, Inc.") + (";; Copyright (C) 2017–2018 Free Software Foundation, Inc." + . ";; Copyright (C) 2017–2019 Free Software Foundation, Inc.") (";; Copyright (C) 2005-2006, 2015, 2017-2018 Free Software Foundation, Inc." . ";; Copyright (C) 2005-2006, 2015, 2017-2019 Free Software Foundation, Inc.") + (";; Copyright (C) 2005–2006, 2015, 2017–2018 Free Software Foundation, Inc." + . ";; Copyright (C) 2005–2006, 2015, 2017–2019 Free Software Foundation, Inc.") (";; copyright '18 FSF" . ";; copyright '18, '19 FSF"))) |