aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarl Berry2004-01-05 22:50:58 +0000
committerKarl Berry2004-01-05 22:50:58 +0000
commit2e3b4a0b359380880d5dad013a3286a6217e2ae2 (patch)
tree36a4d800c0860934f2855b4aa8e82ebab2fe71fc
parent652dd27103b2b5acb074f2b7f4f82d2944b1230e (diff)
downloademacs-2e3b4a0b359380880d5dad013a3286a6217e2ae2.tar.gz
emacs-2e3b4a0b359380880d5dad013a3286a6217e2ae2.zip
allow / and *, too
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/emacs-lisp/copyright.el2
2 files changed, 6 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index eab0fce6a58..67e62e7025a 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12004-01-05 Karl Berry <karl@gnu.org>
2
3 * emacs-lisp/copyright.el (copyright-regexp): might as well allow
4 / and *, too.
5
12003-12-31 Simon Josefsson <jas@extundo.com> 62003-12-31 Simon Josefsson <jas@extundo.com>
2 7
3 * files.el (before-save-hook): Add. 8 * files.el (before-save-hook): Add.
diff --git a/lisp/emacs-lisp/copyright.el b/lisp/emacs-lisp/copyright.el
index 8d748291c00..6a95c60f859 100644
--- a/lisp/emacs-lisp/copyright.el
+++ b/lisp/emacs-lisp/copyright.el
@@ -48,7 +48,7 @@ A value of nil means to search whole buffer."
48(defcustom copyright-regexp 48(defcustom copyright-regexp
49 "\\([]\\|@copyright{}\\|[Cc]opyright\\s *:?\\s *\\(?:(C)\\)?\ 49 "\\([]\\|@copyright{}\\|[Cc]opyright\\s *:?\\s *\\(?:(C)\\)?\
50\\|[Cc]opyright\\s *:?\\s *[]\\)\ 50\\|[Cc]opyright\\s *:?\\s *[]\\)\
51\\s *\\([1-9]\\([-0-9, ';%#\n\t]\\|\\s<\\|\\s>\\)*[0-9]+\\)" 51\\s *\\([1-9]\\([-0-9, ';/*%#\n\t]\\|\\s<\\|\\s>\\)*[0-9]+\\)"
52 "*What your copyright notice looks like. 52 "*What your copyright notice looks like.
53The second \\( \\) construct must match the years." 53The second \\( \\) construct must match the years."
54 :group 'copyright 54 :group 'copyright