branch: externals/a68-mode
commit e061c8806cc94efde68012c5728ece81b1c5de28
Author: Jose E. Marchesi <jose.march...@oracle.com>
Commit: Jose E. Marchesi <jose.march...@oracle.com>

    Collect modes from buffer when Emacs is idle
---
 a68-mode.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/a68-mode.el b/a68-mode.el
index 87cad3af8f..648eaa9091 100644
--- a/a68-mode.el
+++ b/a68-mode.el
@@ -402,6 +402,7 @@
   (if a68-auto-stropping-mode
       (progn
         (a68--collect-modes)
+        (run-with-idle-timer 5 t #'a68--collect-modes)
         (add-hook 'post-self-insert-hook
                   #'a68--do-auto-stropping 'append 'local))
     (remove-hook 'post-self-insert-hook

Reply via email to