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

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

[elpa] externals/ergoemacs-mode 5b285ea 057/325: Run everything immediat


From: Stefan Monnier
Subject: [elpa] externals/ergoemacs-mode 5b285ea 057/325: Run everything immediately
Date: Sat, 23 Oct 2021 18:48:21 -0400 (EDT)

branch: externals/ergoemacs-mode
commit 5b285ea987c0790879a9dece1c7174da3662305a
Author: Walter Landry <wlandry@caltech.edu>
Commit: Walter Landry <wlandry@caltech.edu>

    Run everything immediately
---
 ergoemacs-command-loop.el | 8 ++++----
 ergoemacs-mode.el         | 2 +-
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/ergoemacs-command-loop.el b/ergoemacs-command-loop.el
index fa96369..abde7ec 100644
--- a/ergoemacs-command-loop.el
+++ b/ergoemacs-command-loop.el
@@ -1106,9 +1106,9 @@ to start with
              (ergoemacs-command-loop-full-p))
     (if ergoemacs-last-command-was-ergoemacs-ignore-p
        (unless (eq ergoemacs-last-command-was-ergoemacs-ignore-p :idle)
-         (run-with-idle-timer 0.05 nil (lambda()
-                                         (setq 
ergoemacs-last-command-was-ergoemacs-ignore-p :idle)
-                                         (ergoemacs-command-loop-start))))
+         (run-with-timer 0.0 nil (lambda()
+                                   (setq 
ergoemacs-last-command-was-ergoemacs-ignore-p :idle)
+                                   (ergoemacs-command-loop-start))))
       (push 'ergoemacs-ignore unread-command-events))))
 
 (add-hook 'ergoemacs-post-command-hook 
#'ergoemacs-command-loop--start-with-post-command-hook)
@@ -1569,7 +1569,7 @@ They don't exactly behave like their Emacs equivalents."
 (defun ergoemacs-command-loop--install-timer ()
   "Install the `ergoemacs-command-loop--timer'."
   (setq ergoemacs-command-loop--timer
-        (run-with-idle-timer 0.05 nil #'ergoemacs-command-loop--timer)))
+        (run-with-timer 0.0 nil #'ergoemacs-command-loop--timer)))
 
 (defun ergoemacs-command-loop--remove-timer ()
   "Remove `ergoemacs-command-loop--timer'."
diff --git a/ergoemacs-mode.el b/ergoemacs-mode.el
index cc3b9a5..210a0be 100644
--- a/ergoemacs-mode.el
+++ b/ergoemacs-mode.el
@@ -1074,7 +1074,7 @@ also perform `outline-next-visible-heading'"
 (puthash 'ergoemacs-load-time (vector 1 ergoemacs--load-time 
ergoemacs--load-time ergoemacs--load-time (or load-file-name buffer-file-name))
          ergoemacs-timing-hash)
 
-(run-with-idle-timer 0.05 nil #'ergoemacs-mode-after-init-emacs)
+(run-with-timer 0.0 nil #'ergoemacs-mode-after-init-emacs)
 (add-hook 'emacs-startup-hook #'ergoemacs-mode-after-init-emacs)
 
 (provide 'ergoemacs-mode)



reply via email to

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