This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

cancel and re-run idle timer on each run

  • Loading branch information...
technomancy committed Aug 12, 2008
1 parent 808b2a4 commit c12297bc482dd9ca77509aa9f58f2613d190ef94
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/conspire/support/conspire.el
@@ -62,7 +62,8 @@
(shell-command (format "git add %s && git commit -m \"conspire\""
buffer-file-name)))
(revert-buffer nil t) ;; revert resets local variables; heh
- (setq conspire-mode t)))
+ (cancel-timer conspire-timer)
+ (conspire-mode t)))
;;;###autoload
(define-minor-mode conspire-mode

0 comments on commit c12297b

Please sign in to comment.