summaryrefslogtreecommitdiff
path: root/lisp/emacs-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/emacs-lisp
parent304515db3bacdb803004943ed9cec03cab644dc2 (diff)
downloademacs-fe177a62ea2b62bea3e7dcfa95b9cc0f9d0a543e.tar.gz
(copyright-update): Add doc-string.
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r--lisp/emacs-lisp/copyright.el4
1 files changed, 3 insertions, 1 deletions
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.