mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-03 10:31:37 -08:00
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.
This commit is contained in:
parent
75604f882a
commit
7a46fa9c75
2 changed files with 11 additions and 7 deletions
|
|
@ -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")))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue