emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] 72/352: Ajetaan maalaustoiminto varmuuden vuoksi vielä yhden ker


From: Stefan Monnier
Subject: [elpa] 72/352: Ajetaan maalaustoiminto varmuuden vuoksi vielä yhden kerran lisää
Date: Mon, 07 Jul 2014 14:02:13 +0000

monnier pushed a commit to branch master
in repository elpa.

commit 62d2d6d1d7718b3399e85af42d442dba329de23f
Author: Teemu Likonen <address@hidden>
Date:   Wed May 27 19:19:35 2009 +0000

    Ajetaan maalaustoiminto varmuuden vuoksi vielä yhden kerran lisää
---
 wcheck-mode.el |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/wcheck-mode.el b/wcheck-mode.el
index 67b2618..3978a71 100644
--- a/wcheck-mode.el
+++ b/wcheck-mode.el
@@ -455,12 +455,13 @@ in buffers."
                                                              window)))))
          'nomb t))))
 
-  ;; Start a timer which will mark text in buffers/windows. We pass
-  ;; argument "2" for the timer so that it will run three times.
+  ;; Start a timer which will mark text in buffers/windows.
   (run-with-idle-timer (+ wcheck-timer-idle
                           (wcheck-current-idle-time-seconds))
                        nil 'wcheck-timer-paint-event
-                       2))
+                       ;; Repeat the timer 3 times after the initial
+                       ;; call:
+                       3))
 
 
 (defun wcheck-timer-paint-event (&optional repeat)
@@ -496,7 +497,7 @@ call. The delay between consecutive calls is defined in 
variable
          'nomb t))))
 
   ;; If REPEAT is positive integer call this function again after
-  ;; waiting wcheck-timer-idle. Pass REPEAT minus one as the parameter.
+  ;; waiting wcheck-timer-idle. Pass REPEAT minus one as the argument.
   (when (and (integerp repeat)
              (> repeat 0))
     (run-with-idle-timer (+ wcheck-timer-idle



reply via email to

[Prev in Thread] Current Thread [Next in Thread]