branch: externals/async
commit 3187cc320f1a7264b2ae4c702fea01eb51416a4a
Author: David J. Rosenbaum <djr...@gmail.com>
Commit: David J. Rosenbaum <djr...@gmail.com>

    Ignore abbrev tables when injecting variables
    
    This fixes variable injection in Emacs 30 since abbrev tables are not 
readable.
    The issue occurs when async-inject-variables is called with an include 
regexp
    that is the name of a major mode.
---
 async.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/async.el b/async.el
index fe4091f462..77e12af85c 100644
--- a/async.el
+++ b/async.el
@@ -117,7 +117,7 @@ is returned unmodified."
                   collect elm))
         (t object)))
 
-(defvar async-inject-variables-exclude-regexps '("-syntax-table\\'")
+(defvar async-inject-variables-exclude-regexps '("-syntax-table\\'" 
"-abbrev-table\\'")
   "A list of regexps that `async-inject-variables' should ignore.")
 
 (defun async-inject-variables

Reply via email to