branch: externals/notmuch-indicator
commit a204a0f6e884af98aaced00e7bcd105138056960
Author: Protesilaos Stavrou <[email protected]>
Commit: Protesilaos Stavrou <[email protected]>

    Rename the helper function that runs the timer
---
 notmuch-indicator.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/notmuch-indicator.el b/notmuch-indicator.el
index be465b48d7..3d652dbf65 100644
--- a/notmuch-indicator.el
+++ b/notmuch-indicator.el
@@ -327,7 +327,7 @@ Do it when `notmuch-indicator-mode' is enabled.  Also see
              (eq (timer--function timer) 'notmuch-indicator--indicator))
            timer-list))))
 
-(defun notmuch-indicator--run ()
+(defun notmuch-indicator--run-timer ()
   "Run the timer with a delay, starting it if necessary.
 The delay is specified by `notmuch-indicator-refresh-count'."
   (unless (notmuch-indicator--running-p)
@@ -363,7 +363,7 @@ option `notmuch-indicator-refresh-count'.."
         (when notmuch-indicator-add-to-mode-line-misc-info
           (setq notmuch-indicator--used-mode-line-construct 
notmuch-indicator-mode-line-construct)
           (add-to-list 'mode-line-misc-info 
notmuch-indicator-mode-line-construct))
-        (notmuch-indicator--run)
+        (notmuch-indicator--run-timer)
         (dolist (fn notmuch-indicator-force-refresh-commands)
           (advice-add fn :after #'notmuch-indicator-refresh)))
     (setq mode-line-misc-info (delete 
notmuch-indicator--used-mode-line-construct mode-line-misc-info))

Reply via email to