aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/time.el
diff options
context:
space:
mode:
authorPo Lu2021-12-10 14:50:21 +0800
committerPo Lu2021-12-10 14:50:21 +0800
commitcc0f147180300b672894de931bee76b2a3a719e9 (patch)
tree2fca1fb8adcb4aa1726f3274922f78eafe9a1aa5 /lisp/time.el
parent6919d5a7c0a23c14ae77f7c708ea6d0ef2478108 (diff)
parent6e865a7171d80cd91b54c6d71b88d960b920abe3 (diff)
downloademacs-cc0f147180300b672894de931bee76b2a3a719e9.tar.gz
emacs-cc0f147180300b672894de931bee76b2a3a719e9.zip
Merge remote-tracking branch 'origin/master' into feature/pgtk
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.