2012-01-06 Glenn Morris <rgm@gnu.org>
+ * time.el (display-time-load-average, display-time-next-load-average):
+ Doc fixes.
+
* emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
local setting of buffer-read-only to the input buffer. (Bug#10419)
:group 'display-time)
(defvar display-time-load-average nil
- "Load average currently being shown in mode line.")
+ "Load average currently being shown in mode line.
+See `display-time-default-load-average'.")
(defcustom display-time-load-average-threshold 0.1
"Load-average values below this value won't be shown in the mode line."
(timer-activate timer)))))
(defun display-time-next-load-average ()
+ "Switch between different load averages in the mode line.
+Switches from the 1 to 5 to 15 minute load average, and then back to 1."
(interactive)
(if (= 3 (setq display-time-load-average (1+ display-time-load-average)))
(setq display-time-load-average 0))