#'world-clock-mode "28.1")
(define-obsolete-function-alias 'display-time-world-display
#'world-clock-display "28.1")
-(define-obsolete-function-alias 'display-time-world
- #'world-clock "28.1")
(define-obsolete-function-alias 'display-time-world-timer
#'world-clock-update "28.1")
(define-derived-mode world-clock-mode special-mode "World clock"
"Major mode for buffer that displays times in various time zones.
See `world-clock'."
- (setq revert-buffer-function #'world-clock-update)
+ (setq-local revert-buffer-function #'world-clock-update)
(setq show-trailing-whitespace nil))
(defun world-clock-display (alist)
(delete-char -1))
(goto-char (point-min)))
+;; Old name -- preserved for backwards compatibility.
+;;;###autoload
+(defalias 'display-time-world #'world-clock)
+
;;;###autoload
(defun world-clock ()
"Display a world clock buffer with times in various time zones.