Function: display-time

display-time is an autoloaded, interactive and byte-compiled function defined in time.el.gz.

Signature

(display-time)

Documentation

Enable display of time, load level, and mail flag in mode lines.

This display updates automatically every minute. If display-time-day-and-date is non-nil, the current day and date are displayed as well. This runs the normal hook display-time-hook after each update.

View in manual

Probably introduced at or before Emacs version 16.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/time.el.gz
;;;###autoload
(defun display-time ()
  "Enable display of time, load level, and mail flag in mode lines.
This display updates automatically every minute.
If `display-time-day-and-date' is non-nil, the current day and date
are displayed as well.
This runs the normal hook `display-time-hook' after each update."
  (interactive)
  (display-time-mode 1))