]> git.eshelyaron.com Git - emacs.git/commit
Cancel timer when world-clock buffer is killed
authorStefan Kangas <stefankangas@gmail.com>
Thu, 3 Sep 2020 10:54:30 +0000 (12:54 +0200)
committerStefan Kangas <stefankangas@gmail.com>
Thu, 3 Sep 2020 10:54:30 +0000 (12:54 +0200)
commitd37861535dfd452f7c2255ae5edcf7686b75fe5a
tree4f5d60be468481c877d84dcf0aad0dfdbdb78621
parent18ae12e053c8e4dd7ea21f8d94a7f51a78648e64
Cancel timer when world-clock buffer is killed

* lisp/time.el (world-clock-timer): New variable.
(world-clock-cancel-timer): New defun.
(world-clock): Add 'world-clock-cancel-timer' to 'kill-buffer-hook'.
lisp/time.el