[Top][All Lists]

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

copyright.el vs. version "3"

From: Jim Meyering
Subject: copyright.el vs. version "3"
Date: Tue, 10 Jul 2007 14:50:56 +0200

Now that I've switched coreutils to GPL V3, I find the default behavior
(asking me if I want to downgrade to version 2) to be annoying -- and ironic.
This is against emacs built from cvs (git, actually :-) today.

Here's the patch I'm using:

2007-07-10  Jim Meyering  <address@hidden>

        GPL v3 is the latest: copyright.el should not prompt for a v3 comment
        * emacs-lisp/copyright.el (copyright-current-gpl-version): Set to 3.
        * autoinsert.el (auto-insert-alist): s/2/3/ in the generated comment.

diff --git a/lisp/autoinsert.el b/lisp/autoinsert.el
index 3f615dc..dcacc6a 100644
--- a/lisp/autoinsert.el
+++ b/lisp/autoinsert.el
@@ -188,7 +188,7 @@ If this contains a %s, that will be replaced by the 
matching rule."

 \;; This file is free software; you can redistribute it and/or modify
 \;; it under the terms of the GNU General Public License as published by
-\;; the Free Software Foundation; either version 2, or (at your option)
+\;; the Free Software Foundation; either version 3, or (at your option)
 \;; any later version.

 \;; This file is distributed in the hope that it will be useful,
diff --git a/lisp/emacs-lisp/copyright.el b/lisp/emacs-lisp/copyright.el
index ac61c5a..facdf9e 100644
--- a/lisp/emacs-lisp/copyright.el
+++ b/lisp/emacs-lisp/copyright.el
@@ -79,7 +79,7 @@ When this is `function', only ask when called 

 ;; when modifying this, also modify the comment generated by autoinsert.el
-(defconst copyright-current-gpl-version "2"
+(defconst copyright-current-gpl-version "3"
   "String representing the current version of the GPL or nil.")

 (defvar copyright-update t)

reply via email to

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