]> code.delx.au - gnu-emacs/blobdiff - lisp/time.el
Add a doc string to display-time-string
[gnu-emacs] / lisp / time.el
index e0d39b195869490b98984df9fe100be7e29e0290..ba5792441c4e617fe059f2a96031c23d31b241fc 100644 (file)
@@ -108,7 +108,10 @@ A value of nil means 1 <= hh <= 12, and an AM/PM suffix is used."
   :type 'boolean
   :group 'display-time)
 
-(defvar display-time-string nil)
+(defvar display-time-string nil
+  "String used in mode lines to display a time string.
+It should not be set directly, but is instead updated by the
+`display-time' function.")
 ;;;###autoload(put 'display-time-string 'risky-local-variable t)
 
 (defcustom display-time-hook nil