From fe177a62ea2b62bea3e7dcfa95b9cc0f9d0a543e Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Sun, 11 Jan 2009 03:10:12 +0000 Subject: [PATCH] (copyright-update): Add doc-string. --- lisp/ChangeLog | 2 ++ lisp/emacs-lisp/copyright.el | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 35463adb7b..e17497b640 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 * 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 85cd2b4248..b41376b8fc 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. -- 2.20.1