1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-23 07:19:15 +00:00

allow / and *, too

This commit is contained in:
Karl Berry 2004-01-05 22:50:58 +00:00
parent 652dd27103
commit 2e3b4a0b35
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2004-01-05 Karl Berry <karl@gnu.org>
* emacs-lisp/copyright.el (copyright-regexp): might as well allow
/ and *, too.
2003-12-31 Simon Josefsson <jas@extundo.com>
* files.el (before-save-hook): Add.

View File

@ -48,7 +48,7 @@ A value of nil means to search whole buffer."
(defcustom copyright-regexp
"\\([<5B>©Ž©]\\|@copyright{}\\|[Cc]opyright\\s *:?\\s *\\(?:(C)\\)?\
\\|[Cc]opyright\\s *:?\\s *[<EFBFBD>©Ž©]\\)\
\\s *\\([1-9]\\([-0-9, ';%#\n\t]\\|\\s<\\|\\s>\\)*[0-9]+\\)"
\\s *\\([1-9]\\([-0-9, ';/*%#\n\t]\\|\\s<\\|\\s>\\)*[0-9]+\\)"
"*What your copyright notice looks like.
The second \\( \\) construct must match the years."
:group 'copyright