From: Karl Berry Date: Mon, 5 Jan 2004 22:50:58 +0000 (+0000) Subject: allow / and *, too X-Git-Tag: ttn-vms-21-2-B4~7997 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=2e3b4a0b359380880d5dad013a3286a6217e2ae2;p=emacs.git allow / and *, too --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index eab0fce6a58..67e62e7025a 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2004-01-05 Karl Berry + + * emacs-lisp/copyright.el (copyright-regexp): might as well allow + / and *, too. + 2003-12-31 Simon Josefsson * 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." (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