branch: externals/org
commit e2fa3c4c4046b6f547e1f3c116e174e8f12ca5e1
Author: Ihor Radchenko <yanta...@gmail.com>
Commit: Ihor Radchenko <yanta...@gmail.com>

    org-element-cache-map: Increase minimal Emacs version in 717a847d6
    
    * lisp/org-element.el (org-element-cache-map): Do not byte-compile
    FUNC in Emacs 28 as well.  Some variants of Emacs 28 do not
    byte-compile the lambda correctly [1].
    
    [1] 
https://list.orgmode.org/87tuha62rq.fsf@localhost/T/#ma9f23ef9e96de01c53451f40d097e4ce2fd51571
---
 lisp/org-element.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/org-element.el b/lisp/org-element.el
index a69f89c..dbdacee 100644
--- a/lisp/org-element.el
+++ b/lisp/org-element.el
@@ -7110,7 +7110,7 @@ of FUNC.  Changes to elements made in FUNC will also 
alter the cache."
                                ;; somehow alters the FUNC result in
                                ;; Emacs 26 and 27, but not in Emacs
                                ;; >=28.
-                               (version< emacs-version "28"))
+                               (version< emacs-version "29"))
                            func
                          (let ((warning-minimum-log-level :error)
                                (inhibit-message t))

Reply via email to