aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorEli Zaretskii2024-12-25 20:52:45 +0200
committerEli Zaretskii2024-12-25 20:52:45 +0200
commite96727f0ea0986bffe7ff235e5abc5354e63a64d (patch)
treef5169cef94b272dd43320b86a7de92ebf9978cd5 /etc
parentd70ef80868996b9119f032cd13911c600436e29f (diff)
downloademacs-e96727f0ea0986bffe7ff235e5abc5354e63a64d.tar.gz
emacs-e96727f0ea0986bffe7ff235e5abc5354e63a64d.zip
; Fix documentation of recent additions to treesit.el
* lisp/treesit.el (treesit-language-display-name-alist) (treesit-language-display-name): Doc fixes. * etc/NEWS: Fix wording of entry announcing the above.
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS8
1 files changed, 4 insertions, 4 deletions
diff --git a/etc/NEWS b/etc/NEWS
index ca107bb4938..8adead78a32 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -994,10 +994,10 @@ it uses `forward-sexp-default-function'.
994 994
995+++ 995+++
996*** New function 'treesit-language-display-name'. 996*** New function 'treesit-language-display-name'.
997New function that returns the display name given the language symbol. 997This new function returns the display name of a language given the
998For example, 'cpp' is translated to "C++". Also adds a new variable 998language symbol. For example, 'cpp' is translated to "C++". A new
999'treesit-language-display-name-alist' that the function uses to 999variable 'treesit-language-display-name-alist' holds the translations of
1000translate display names. 1000language symbols where that translation is not trivial.
1001 1001
1002+++ 1002+++
1003*** New command 'treesit-explore' 1003*** New command 'treesit-explore'