changeset 101116:cdcfed3dd3f9

(copyright-update): Add doc-string.
author Glenn Morris <rgm@gnu.org>
date Sun, 11 Jan 2009 03:10:12 +0000
parents 16cdb5713076
children 67c612a1ef3a
files lisp/ChangeLog lisp/emacs-lisp/copyright.el
diffstat 2 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Sun Jan 11 03:07:50 2009 +0000
+++ b/lisp/ChangeLog	Sun Jan 11 03:10:12 2009 +0000
@@ -11,6 +11,8 @@
 	(authors-scan-el, authors-add-to-author-list, authors):
 	Handle multiple authors in a file, via a new :cowrote category.
 
+	* emacs-lisp/copyright.el (copyright-update): Add doc-string.
+
 2009-01-10  Richard M Stallman  <rms@gnu.org>
 
 	* mail/mail-utils.el (mail-quote-printable-region): New function.
--- a/lisp/emacs-lisp/copyright.el	Sun Jan 11 03:07:50 2009 +0000
+++ b/lisp/emacs-lisp/copyright.el	Sun Jan 11 03:10:12 2009 +0000
@@ -86,7 +86,8 @@
 (defconst copyright-current-gpl-version "3"
   "String representing the current version of the GPL or nil.")
 
-(defvar copyright-update t)
+(defvar copyright-update t
+  "The function `copyright-update' sets this to nil after updating a buffer.")
 
 ;; This is a defvar rather than a defconst, because the year can
 ;; change during the Emacs session.
@@ -231,6 +232,7 @@
     nil))
 
 
+;; FIXME should be within 50 years of present (cf calendar).
 ;;;###autoload
 (defun copyright-fix-years ()
   "Convert 2 digit years to 4 digit years.