summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2009-01-11 03:10:12 +0000
committerGlenn Morris <rgm@gnu.org>2009-01-11 03:10:12 +0000
commitfe177a62ea2b62bea3e7dcfa95b9cc0f9d0a543e (patch)
tree6ac08dedbe836a8cc06cbaaac890277099c2921b /lisp
parent304515db3bacdb803004943ed9cec03cab644dc2 (diff)
downloademacs-fe177a62ea2b62bea3e7dcfa95b9cc0f9d0a543e.tar.gz
(copyright-update): Add doc-string.
Diffstat (limited to 'lisp')
-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.