Function: world-clock-mode

world-clock-mode is a byte-compiled function defined in time.el.gz.

Signature

(world-clock-mode)

Documentation

Major mode for buffer that displays times in various time zones.

See world-clock.

In addition to any hooks its parent mode special-mode might have run, this mode runs the hook world-clock-mode-hook, as the final or penultimate step during initialization.

n next-line
p previous-line

Probably introduced at or before Emacs version 28.1.

Aliases

display-time-world-mode (obsolete since 28.1)

Source Code

;; Defined in /usr/src/emacs/lisp/time.el.gz
(define-derived-mode world-clock-mode special-mode "World clock"
  "Major mode for buffer that displays times in various time zones.
See `world-clock'."
  :interactive nil
  (setq-local revert-buffer-function #'world-clock-update)
  (setq show-trailing-whitespace nil))