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

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

[nongnu] elpa/moe-theme 76116f6eeb 345/352: fix: double loading of moe-t


From: ELPA Syncer
Subject: [nongnu] elpa/moe-theme 76116f6eeb 345/352: fix: double loading of moe-theme (#109)
Date: Fri, 7 Jan 2022 04:00:04 -0500 (EST)

branch: elpa/moe-theme
commit 76116f6eeb93c7902042f275a496629393730e08
Author: Aaron Gonzales <aaronzinho@ucla.edu>
Commit: GitHub <noreply@github.com>

    fix: double loading of moe-theme (#109)
    
    fix bug that causes moe-theme light and dark themes to overlap. Also
    cleaned up second call to
    ```convert-time-format-of-sunrise-and-sunset```, as the time takes
    care of initial call already
---
 moe-theme-switcher.el | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/moe-theme-switcher.el b/moe-theme-switcher.el
index c49a348208..1c71e46169 100644
--- a/moe-theme-switcher.el
+++ b/moe-theme-switcher.el
@@ -130,7 +130,6 @@ Take Keelung, Taiwan(25N,121E) for example, you can set 
like this:
      (boundp 'calendar-latitude)
      (eql moe-theme-switch-by-sunrise-and-sunset t))
     (progn
-      (convert-time-format-of-sunrise-and-sunset)
       (run-with-timer 0 (* 60 60 24) 
'convert-time-format-of-sunrise-and-sunset))
   ()
   )
@@ -142,6 +141,4 @@ Take Keelung, Taiwan(25N,121E) for example, you can set 
like this:
   (interactive)
   (cancel-timer moe-timer))
 
-(moe-theme-auto-switch)
-
 (provide 'moe-theme-switcher)



reply via email to

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