diff lisp/emacs-lisp/copyright.el @ 101116:cdcfed3dd3f9

(copyright-update): Add doc-string.
author Glenn Morris <rgm@gnu.org>
date Sun, 11 Jan 2009 03:10:12 +0000
parents 3d95444199e1
children 9346c2b4e4eb
line wrap: on
line diff
--- 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.