diff options
| author | Lars Ingebrigtsen | 2016-04-30 22:41:41 +0200 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2016-05-01 19:27:15 +0200 |
| commit | ecdb340c2d306de173169d172b9641696dd7ac34 (patch) | |
| tree | 32c222560213a5bb78a8337ca122ac35e2d729ef | |
| parent | 6d8c2d0fdcde087514625688c1d1966df0dfdb42 (diff) | |
| download | emacs-ecdb340c2d306de173169d172b9641696dd7ac34.tar.gz emacs-ecdb340c2d306de173169d172b9641696dd7ac34.zip | |
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)
| -rw-r--r-- | lisp/time.el | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/time.el b/lisp/time.el index e0d39b19586..ba5792441c4 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." | |||
| 108 | :type 'boolean | 108 | :type 'boolean |
| 109 | :group 'display-time) | 109 | :group 'display-time) |
| 110 | 110 | ||
| 111 | (defvar display-time-string nil) | 111 | (defvar display-time-string nil |
| 112 | "String used in mode lines to display a time string. | ||
| 113 | It should not be set directly, but is instead updated by the | ||
| 114 | `display-time' function.") | ||
| 112 | ;;;###autoload(put 'display-time-string 'risky-local-variable t) | 115 | ;;;###autoload(put 'display-time-string 'risky-local-variable t) |
| 113 | 116 | ||
| 114 | (defcustom display-time-hook nil | 117 | (defcustom display-time-hook nil |