allow % and # as well as ; in copyright notice
This commit is contained in:
parent
e822882420
commit
17b337762f
2 changed files with 8 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
|||
;;; copyright.el --- update the copyright notice in current buffer
|
||||
|
||||
;; Copyright (C) 1991, 92, 93, 94, 95, 1998, 2001, 2003
|
||||
;; Copyright (C) 1991, 92, 93, 94, 95, 1998, 2001, 2003, 2004
|
||||
;; Free Software Foundation, Inc.
|
||||
|
||||
;; Author: Daniel Pfeiffer <occitan@esperanto.org>
|
||||
|
@ -47,7 +47,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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue