aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/time.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/time.el')
-rw-r--r--lisp/time.el8
1 files changed, 3 insertions, 5 deletions
diff --git a/lisp/time.el b/lisp/time.el
index 4f302caa674..fcea064b4cf 100644
--- a/lisp/time.el
+++ b/lisp/time.el
@@ -526,11 +526,9 @@ If the value is t instead of an alist, use the value of
526 '((t :inherit font-lock-variable-name-face)) 526 '((t :inherit font-lock-variable-name-face))
527 "Face for time zone label in `world-clock' buffer.") 527 "Face for time zone label in `world-clock' buffer.")
528 528
529(defvar world-clock-mode-map 529(defvar-keymap world-clock-mode-map
530 (let ((map (make-sparse-keymap))) 530 "n" #'next-line
531 (define-key map "n" #'next-line) 531 "p" #'previous-line)
532 (define-key map "p" #'previous-line)
533 map))
534 532
535(define-derived-mode world-clock-mode special-mode "World clock" 533(define-derived-mode world-clock-mode special-mode "World clock"
536 "Major mode for buffer that displays times in various time zones. 534 "Major mode for buffer that displays times in various time zones.