emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs/lisp ChangeLog emacs-lisp/copyright.el


From: Miles Bader
Subject: [Emacs-diffs] emacs/lisp ChangeLog emacs-lisp/copyright.el
Date: Tue, 17 Feb 2009 10:14:02 +0000

CVSROOT:        /cvsroot/emacs
Module name:    emacs
Changes by:     Miles Bader <miles>     09/02/17 10:14:02

Modified files:
        lisp           : ChangeLog 
        lisp/emacs-lisp: copyright.el 

Log message:
        Tweak copyright-regexp
        
        Tweaked to match copyright statements where the years follow the name.
        
        Revision: address@hidden/emacs--devo--0--patch-1549

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/emacs/lisp/ChangeLog?cvsroot=emacs&r1=1.15341&r2=1.15342
http://cvs.savannah.gnu.org/viewcvs/emacs/lisp/emacs-lisp/copyright.el?cvsroot=emacs&r1=1.80&r2=1.81

Patches:
Index: ChangeLog
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/ChangeLog,v
retrieving revision 1.15341
retrieving revision 1.15342
diff -u -b -r1.15341 -r1.15342
--- ChangeLog   17 Feb 2009 03:02:25 -0000      1.15341
+++ ChangeLog   17 Feb 2009 10:13:59 -0000      1.15342
@@ -1,3 +1,8 @@
+2009-02-17  Miles Bader  <address@hidden>
+
+       * emacs-lisp/copyright.el (copyright-regexp): Tweaked to match
+       copyright statements where the years follow the name.
+
 2009-02-17  Glenn Morris  <address@hidden>
 
        * emacs-lisp/copyright.el (copyright-update-year): Don't let y-or-n-p

Index: emacs-lisp/copyright.el
===================================================================
RCS file: /cvsroot/emacs/emacs/lisp/emacs-lisp/copyright.el,v
retrieving revision 1.80
retrieving revision 1.81
diff -u -b -r1.80 -r1.81
--- emacs-lisp/copyright.el     17 Feb 2009 03:02:33 -0000      1.80
+++ emacs-lisp/copyright.el     17 Feb 2009 10:14:01 -0000      1.81
@@ -51,7 +51,8 @@
 (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 *\\(?:[^0-9\n]*\\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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]