summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/copyright.el
diff options
context:
space:
mode:
authorKarl Berry <karl@gnu.org>2004-01-04 23:00:06 +0000
committerKarl Berry <karl@gnu.org>2004-01-04 23:00:06 +0000
commit17b337762fe7df77aa8a6dfcea0109a267bea83d (patch)
treeb30bd0a0351c1bb4ec4e5bd33f99788cf88af6be /lisp/emacs-lisp/copyright.el
parente822882420396cb0fd14cf3e33b8035306dac726 (diff)
downloademacs-17b337762fe7df77aa8a6dfcea0109a267bea83d.tar.gz
emacs-17b337762fe7df77aa8a6dfcea0109a267bea83d.tar.bz2
emacs-17b337762fe7df77aa8a6dfcea0109a267bea83d.zip
allow % and # as well as ; in copyright notice
Diffstat (limited to 'lisp/emacs-lisp/copyright.el')
-rw-r--r--lisp/emacs-lisp/copyright.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/emacs-lisp/copyright.el b/lisp/emacs-lisp/copyright.el
index fc0a5b74726..4532f7e5b77 100644
--- a/lisp/emacs-lisp/copyright.el
+++ b/lisp/emacs-lisp/copyright.el
@@ -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
"\\([]\\|@copyright{}\\|[Cc]opyright\\s *:?\\s *\\(?:(C)\\)?\
\\|[Cc]opyright\\s *:?\\s *[]\\)\
-\\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