summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lisp/ChangeLog2
-rw-r--r--lisp/emacs-lisp/copyright.el4
2 files changed, 5 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 35463adb7b5..e17497b6405 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -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.
diff --git a/lisp/emacs-lisp/copyright.el b/lisp/emacs-lisp/copyright.el
index 85cd2b4248a..b41376b8fc6 100644
--- a/lisp/emacs-lisp/copyright.el
+++ b/lisp/emacs-lisp/copyright.el
@@ -86,7 +86,8 @@ When this is `function', only ask when called non-interactively."
(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 @@ version \\([0-9]+\\), or (at"
nil))
+;; FIXME should be within 50 years of present (cf calendar).
;;;###autoload
(defun copyright-fix-years ()
"Convert 2 digit years to 4 digit years.