[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] emacs-25 ecdb340 50/64: Add a doc string to display-time-s
From: |
Lars Ingebrigtsen |
Subject: |
[Emacs-diffs] emacs-25 ecdb340 50/64: Add a doc string to display-time-string |
Date: |
Sun, 01 May 2016 18:18:42 +0000 |
branch: emacs-25
commit ecdb340c2d306de173169d172b9641696dd7ac34
Author: Lars Ingebrigtsen <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>
Add a doc string to display-time-string
* lisp/time.el: Add a doc string to `display-time-string',
because it's referred to in the manual, and is too mysterious
otherwise (bug#21002).
(cherry picked from commit 45559c584e5a4ddeed1539b028b50b95baa372f8)
---
lisp/time.el | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/lisp/time.el b/lisp/time.el
index e0d39b1..ba57924 100644
--- a/lisp/time.el
+++ b/lisp/time.el
@@ -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
- [Emacs-diffs] emacs-25 3852fd6 18/64: Minor doc clarification, (continued)
- [Emacs-diffs] emacs-25 3852fd6 18/64: Minor doc clarification, Lars Ingebrigtsen, 2016/05/01
- [Emacs-diffs] emacs-25 f92d0aa 36/64: insert-file-contents-literally doc fix, Lars Ingebrigtsen, 2016/05/01
- [Emacs-diffs] emacs-25 ec392ff 40/64: cursor-type doc fix, Lars Ingebrigtsen, 2016/05/01
- [Emacs-diffs] emacs-25 a73de71 30/64: Doc fix for insert-pair-alist, Lars Ingebrigtsen, 2016/05/01
- [Emacs-diffs] emacs-25 93598ff 38/64: (default-mode-line-format): More explicit obsolete info, Lars Ingebrigtsen, 2016/05/01
- [Emacs-diffs] emacs-25 02c1aa8 13/64: Doc fix for align-newline-and-indent, Lars Ingebrigtsen, 2016/05/01
- [Emacs-diffs] emacs-25 b04fcc4 37/64: Fcompare_buffer_substrings doc string clarification, Lars Ingebrigtsen, 2016/05/01
- [Emacs-diffs] emacs-25 983ad8d 44/64: replace-match-maybe-edit doc clarification, Lars Ingebrigtsen, 2016/05/01
- [Emacs-diffs] emacs-25 818fb69 42/64: Extremely minor doc fix in Choosing Window, Lars Ingebrigtsen, 2016/05/01
- [Emacs-diffs] emacs-25 7907b82 51/64: Add a cross ref to Optional Mode Line, Lars Ingebrigtsen, 2016/05/01
- [Emacs-diffs] emacs-25 ecdb340 50/64: Add a doc string to display-time-string,
Lars Ingebrigtsen <=
- [Emacs-diffs] emacs-25 7b7b4c2 52/64: Document mode mode line variables, Lars Ingebrigtsen, 2016/05/01
- [Emacs-diffs] emacs-25 db20f89 17/64: Fill font-lock-mode doc string, Lars Ingebrigtsen, 2016/05/01
- [Emacs-diffs] emacs-25 7a03d55 25/64: Clarify whitespace-style doc string, Lars Ingebrigtsen, 2016/05/01
- [Emacs-diffs] emacs-25 396747d 08/64: Don't have the manual claim that it lists all CL incompatibilities, Lars Ingebrigtsen, 2016/05/01
- [Emacs-diffs] emacs-25 0846f21 28/64: Tiny doc clarification for create-fontset-from-fontset-spec, Lars Ingebrigtsen, 2016/05/01
- [Emacs-diffs] emacs-25 dc960d9 15/64: Clarify hi-lock-find-patterns, Lars Ingebrigtsen, 2016/05/01
- [Emacs-diffs] emacs-25 df6cee9 16/64: Wrap the auto-generated doc string, Lars Ingebrigtsen, 2016/05/01
- [Emacs-diffs] emacs-25 8748c21 14/64: Add a doc string to `winner-mode', Lars Ingebrigtsen, 2016/05/01
- [Emacs-diffs] emacs-25 ff834ff 39/64: Add a link from Tool Bar to Images, Lars Ingebrigtsen, 2016/05/01
- [Emacs-diffs] emacs-25 7350d3d 47/64: apropos-print doc fix, Lars Ingebrigtsen, 2016/05/01