aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/ChangeLog8
-rw-r--r--lisp/time.el13
2 files changed, 16 insertions, 5 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index ba9886a33e2..39007b7e0d4 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,11 @@
12012-01-06 Eli Zaretskii <eliz@gnu.org>
2
3 * time.el (display-time-load-average)
4 (display-time-default-load-average): Doc fixes. See the thread
5 starting at
6 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
7 for the details.
8
12012-01-06 Glenn Morris <rgm@gnu.org> 92012-01-06 Glenn Morris <rgm@gnu.org>
2 10
3 * mail/unrmail.el (unrmail): Give an explicit error if the input file 11 * mail/unrmail.el (unrmail): Give an explicit error if the input file
diff --git a/lisp/time.el b/lisp/time.el
index f611aa17543..c7fa5927e48 100644
--- a/lisp/time.el
+++ b/lisp/time.el
@@ -64,13 +64,14 @@ directory `display-time-mail-directory' contains nonempty files."
64 64
65(defcustom display-time-default-load-average 0 65(defcustom display-time-default-load-average 0
66 "Which load average value will be shown in the mode line. 66 "Which load average value will be shown in the mode line.
67Almost every system can provide values of load for past 1 minute, past 5 or 67Almost every system can provide values of load for the past 1 minute,
68past 15 minutes. The default is to display 1 minute load average. 68past 5 or past 15 minutes. The default is to display 1-minute load average.
69The value can be one of: 69The value can be one of:
70 70
71 0 => 1 minute load 71 0 => 1 minute load
72 1 => 5 minutes load 72 1 => 5 minutes load
73 2 => 15 minutes load" 73 2 => 15 minutes load
74 nil => None (do not display the load average)"
74 :type '(choice (const :tag "1 minute load" 0) 75 :type '(choice (const :tag "1 minute load" 0)
75 (const :tag "5 minutes load" 1) 76 (const :tag "5 minutes load" 1)
76 (const :tag "15 minutes load" 2) 77 (const :tag "15 minutes load" 2)
@@ -78,8 +79,10 @@ The value can be one of:
78 :group 'display-time) 79 :group 'display-time)
79 80
80(defvar display-time-load-average nil 81(defvar display-time-load-average nil
81 "Load average currently being shown in mode line. 82 "Value of the system's load average currently shown on the mode line.
82See `display-time-default-load-average'.") 83See `display-time-default-load-average'.
84
85This is an internal variable; setting it has no effect.")
83 86
84(defcustom display-time-load-average-threshold 0.1 87(defcustom display-time-load-average-threshold 0.1
85 "Load-average values below this value won't be shown in the mode line." 88 "Load-average values below this value won't be shown in the mode line."