1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-30 04:10:54 -08:00

* net/rcirc.el (rcirc-keepalive): Fix invalid timer error.

This commit is contained in:
Leo Liu 2013-02-18 00:26:38 +08:00
parent a801007559
commit 53db1d8b92
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2013-02-17 Leo Liu <sdl.web@gmail.com>
* net/rcirc.el (rcirc-keepalive): Fix invalid timer error.
2013-02-17 Glenn Morris <rgm@gnu.org>
* menu-bar.el (menu-bar-tools-menu): Fix case of EDE entry.

View file

@ -625,7 +625,8 @@ last ping."
(rcirc-float-time))))))
(rcirc-process-list))
;; no processes, clean up timer
(cancel-timer rcirc-keepalive-timer)
(when (timerp rcirc-keepalive-timer)
(cancel-timer rcirc-keepalive-timer))
(setq rcirc-keepalive-timer nil)))
(defun rcirc-handler-ctcp-KEEPALIVE (process target sender message)