aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEli Zaretskii2023-01-01 05:46:24 -0500
committerEli Zaretskii2023-01-01 05:46:24 -0500
commit861d3db6343dcd793c54f79a38e0187b4755ee81 (patch)
tree5b126c19f878df430395e1012f1891a7cf46d0a0 /src
parent7822fcbebd1edba3654eaf5c1113f9d4049e0462 (diff)
parent72a81e20226d2d0745fd2efdbbc80fdfe92b7cde (diff)
downloademacs-861d3db6343dcd793c54f79a38e0187b4755ee81.tar.gz
emacs-861d3db6343dcd793c54f79a38e0187b4755ee81.zip
Merge from origin/emacs-29
72a81e2022 ; * lisp/treesit.el (treesit-simple-indent-presets): Fix t... ddfeee3e8a Build recipe interactively in treesit-install-language-gra... 6837469780 ; Add REVISION to treesit-language-source-alist 0dc788aa01 ; Remove GRAMMAR-DIR from treesit-language-source-alist f9aef67c36 Tweak csharp-mode font-lock-settings (bug#60376) 46362c0a3a ; * doc/lispref/tips.texi (Documentation Tips): Add indexing. 9a386b682e Revert a recent change which causes errors 9871ee8b14 ; More fixes for documentation of 'defalias' f309651b67 ; Fix handling of 'not' by 'buffer-match-p' 9292f595a7 ; Fix typos 43c7e05a2a Fix misspelled functions in shortdoc groups 01acecc79c Simplify introduction of use-package manual 2a7e072e53 ; Fix documentation of 'defalias' eee2aeca25 Fix python-shell-buffer-substring when retrieving a single... bfdad6c4e5 ; Fix recent treesit-related changes
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog.112
-rw-r--r--src/treesit.c10
2 files changed, 6 insertions, 6 deletions
diff --git a/src/ChangeLog.11 b/src/ChangeLog.11
index 77180262aca..8517e5cc3c9 100644
--- a/src/ChangeLog.11
+++ b/src/ChangeLog.11
@@ -3294,7 +3294,7 @@
32942010-10-09 Lars Magne Ingebrigtsen <larsi@gnus.org> 32942010-10-09 Lars Magne Ingebrigtsen <larsi@gnus.org>
3295 3295
3296 * gnutls.c (syms_of_gnutls): All the bootprops are keywords. 3296 * gnutls.c (syms_of_gnutls): All the bootprops are keywords.
3297 (emacs_gnutls_write): Remove the debuggin fsync call. 3297 (emacs_gnutls_write): Remove the debugging fsync call.
3298 (emacs_gnutls_read): Return -1 if we got an error from 3298 (emacs_gnutls_read): Return -1 if we got an error from
3299 gnutls_read. This allows us to actually read lots of data from 3299 gnutls_read. This allows us to actually read lots of data from
3300 the GnuTLS stream. 3300 the GnuTLS stream.
diff --git a/src/treesit.c b/src/treesit.c
index 974d2fc4517..e87bfc3429c 100644
--- a/src/treesit.c
+++ b/src/treesit.c
@@ -632,7 +632,7 @@ treesit_load_language (Lisp_Object language_symbol,
632 return lang; 632 return lang;
633} 633}
634 634
635DEFUN ("treesit-language-available-p", Ftreesit_langauge_available_p, 635DEFUN ("treesit-language-available-p", Ftreesit_language_available_p,
636 Streesit_language_available_p, 636 Streesit_language_available_p,
637 1, 2, 0, 637 1, 2, 0,
638 doc: /* Return non-nil if LANGUAGE exists and is loadable. 638 doc: /* Return non-nil if LANGUAGE exists and is loadable.
@@ -679,14 +679,14 @@ is non-nil, return the oldest compatible ABI version. */)
679 return make_fixnum (TREE_SITTER_MIN_COMPATIBLE_LANGUAGE_VERSION); 679 return make_fixnum (TREE_SITTER_MIN_COMPATIBLE_LANGUAGE_VERSION);
680} 680}
681 681
682DEFUN ("treesit-language-version", Ftreesit_language_abi_version, 682DEFUN ("treesit-language-abi-version", Ftreesit_language_abi_version,
683 Streesit_language_abi_version, 683 Streesit_language_abi_version,
684 0, 1, 0, 684 0, 1, 0,
685 doc: /* Return the language ABI version of the tree-sitter LANGUAGE. 685 doc: /* Return the ABI version of the tree-sitter grammar for LANGUAGE.
686Return nil if LANGUAGE is not available. */) 686Return nil if a grammar library for LANGUAGE is not available. */)
687 (Lisp_Object language) 687 (Lisp_Object language)
688{ 688{
689 if (NILP (Ftreesit_langauge_available_p (language, Qnil))) 689 if (NILP (Ftreesit_language_available_p (language, Qnil)))
690 return Qnil; 690 return Qnil;
691 else 691 else
692 { 692 {