diff options
| author | Eli Zaretskii | 2024-11-23 04:46:10 -0500 |
|---|---|---|
| committer | Eli Zaretskii | 2024-11-23 04:46:10 -0500 |
| commit | db7b3f6b953a9c5314db3c3e34639893e53da960 (patch) | |
| tree | ba6c19f51d0246246f2157c62e8cb30d66f9029a /src | |
| parent | 65a55c90cf09113c97ba9b9aed489196618022c3 (diff) | |
| parent | 74a972cace6816753475c3c21f5b164a9a9342dd (diff) | |
| download | emacs-db7b3f6b953a9c5314db3c3e34639893e53da960.tar.gz emacs-db7b3f6b953a9c5314db3c3e34639893e53da960.zip | |
Merge from origin/emacs-30
74a972cace6 Skip proced refine tests on Darwin
c50ce03afc1 ; Fix recent additions to the manuals
c818c5bbafd ; * lisp/term/w32-win.el (tree-sitter--library-abi): Decl...
b71d3b2f52f ; Better clarify function types in C-h f (bug#73626)
59b3eae481d ; Introduce type specifiers to the elisp manual (bug#73626)
83fc3cf53a4 Future-proof loading tree-sitter library on MS-Windows
3eb30186825 ; Improve documentation of 'category' in display-buffer a...
4d80c4f4858 ; More accurate documentation of 'set-mark-command'
70dd5705e11 Fix overriding 'c-ts-mode' by 'c-mode'
331610aef05 ; Improve vc-dir help-echo
9c484d51012 ; Avoid assertion violations in "temacs -Q"
8dc9dfdc381 lisp/progmodes/c-ts-mode.el: Demote loading c-ts-mode as ...
426bce8a675 ; In PROBLEMS mention issue with .Xresources on Gnome des...
Diffstat (limited to 'src')
| -rw-r--r-- | src/lread.c | 2 | ||||
| -rw-r--r-- | src/treesit.c | 11 |
2 files changed, 12 insertions, 1 deletions
diff --git a/src/lread.c b/src/lread.c index ea0398196e3..c25ffb3c4fe 100644 --- a/src/lread.c +++ b/src/lread.c | |||
| @@ -2309,7 +2309,7 @@ build_load_history (Lisp_Object filename, bool entire) | |||
| 2309 | if (entire || !foundit) | 2309 | if (entire || !foundit) |
| 2310 | { | 2310 | { |
| 2311 | Lisp_Object tem = Fnreverse (Vcurrent_load_list); | 2311 | Lisp_Object tem = Fnreverse (Vcurrent_load_list); |
| 2312 | eassert (EQ (filename, Fcar (tem))); | 2312 | eassert (!NILP (Fequal (filename, Fcar (tem)))); |
| 2313 | Vload_history = Fcons (tem, Vload_history); | 2313 | Vload_history = Fcons (tem, Vload_history); |
| 2314 | /* FIXME: There should be an unbind_to right after calling us which | 2314 | /* FIXME: There should be an unbind_to right after calling us which |
| 2315 | should re-establish the previous value of Vcurrent_load_list. */ | 2315 | should re-establish the previous value of Vcurrent_load_list. */ |
diff --git a/src/treesit.c b/src/treesit.c index 6677158b9de..5e1e9b01059 100644 --- a/src/treesit.c +++ b/src/treesit.c | |||
| @@ -4516,4 +4516,15 @@ applies to LANGUAGE-A will be redirected to LANGUAGE-B instead. */); | |||
| 4516 | defsubr (&Streesit_subtree_stat); | 4516 | defsubr (&Streesit_subtree_stat); |
| 4517 | #endif /* HAVE_TREE_SITTER */ | 4517 | #endif /* HAVE_TREE_SITTER */ |
| 4518 | defsubr (&Streesit_available_p); | 4518 | defsubr (&Streesit_available_p); |
| 4519 | #ifdef WINDOWSNT | ||
| 4520 | DEFSYM (Qtree_sitter__library_abi, "tree-sitter--library-abi"); | ||
| 4521 | Fset (Qtree_sitter__library_abi, | ||
| 4522 | #if HAVE_TREE_SITTER | ||
| 4523 | make_fixnum (TREE_SITTER_LANGUAGE_VERSION) | ||
| 4524 | #else | ||
| 4525 | make_fixnum (-1) | ||
| 4526 | #endif | ||
| 4527 | ); | ||
| 4528 | #endif | ||
| 4529 | |||
| 4519 | } | 4530 | } |