Commit 53db1d8b authored by Leo Liu's avatar Leo Liu

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

parent a8010075
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.
......
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment