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

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

[elpa] externals/phps-mode a24fb65377 23/29: Fix for environment were th


From: Christian Johansson
Subject: [elpa] externals/phps-mode a24fb65377 23/29: Fix for environment were threads support is lacking
Date: Thu, 15 Feb 2024 03:14:38 -0500 (EST)

branch: externals/phps-mode
commit a24fb653777f7004fda82b3a2656406ab6cab012
Author: Christian Johansson <christian@cvj.se>
Commit: Christian Johansson <christian@cvj.se>

    Fix for environment were threads support is lacking
---
 phps-mode-lex-analyzer.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/phps-mode-lex-analyzer.el b/phps-mode-lex-analyzer.el
index 65ec472a84..71927a075a 100644
--- a/phps-mode-lex-analyzer.el
+++ b/phps-mode-lex-analyzer.el
@@ -258,7 +258,8 @@ ALLOW-CACHE-READ and ALLOW-CACHE-WRITE."
                         start
                         end
                         (list 'font-lock-face token-syntax-color))))))
-               (thread-yield))
+               (when (fboundp 'thread-yield)
+                 (thread-yield)))
 
              (let ((current-time (current-time)))
                (setq



reply via email to

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