]> git.eshelyaron.com Git - emacs.git/commit
Fix my previous change to cancel world-clock timer
authorStefan Kangas <stefankangas@gmail.com>
Thu, 3 Sep 2020 15:19:15 +0000 (17:19 +0200)
committerStefan Kangas <stefankangas@gmail.com>
Thu, 3 Sep 2020 16:56:52 +0000 (18:56 +0200)
commit54070a5e207f11fbea5adef1dbd7709f42232f0b
tree31d2088b68b6500466980a1fb29df70bb8d5df81
parent8cb15183aa8faba4af52d7b87e5ee4dcd3b1104f
Fix my previous change to cancel world-clock timer

* lisp/time.el (subr-x): Require when compiling.
(world-clock): Set 'kill-buffer-hook' buffer locally only.
(world-clock-update): Break out timer cancellation from here...
(world-clock-cancel-timer): ...to here, and don't rely on variable to
find the timer to cancel.
(world-clock-timer): Delete now superfluous variable.
lisp/time.el