diff options
| author | Eli Zaretskii | 2024-12-25 20:52:45 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2024-12-25 20:52:45 +0200 |
| commit | e96727f0ea0986bffe7ff235e5abc5354e63a64d (patch) | |
| tree | f5169cef94b272dd43320b86a7de92ebf9978cd5 /etc | |
| parent | d70ef80868996b9119f032cd13911c600436e29f (diff) | |
| download | emacs-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/NEWS | 8 |
1 files changed, 4 insertions, 4 deletions
| @@ -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'. |
| 997 | New function that returns the display name given the language symbol. | 997 | This new function returns the display name of a language given the |
| 998 | For example, 'cpp' is translated to "C++". Also adds a new variable | 998 | language symbol. For example, 'cpp' is translated to "C++". A new |
| 999 | 'treesit-language-display-name-alist' that the function uses to | 999 | variable 'treesit-language-display-name-alist' holds the translations of |
| 1000 | translate display names. | 1000 | language symbols where that translation is not trivial. |
| 1001 | 1001 | ||
| 1002 | +++ | 1002 | +++ |
| 1003 | *** New command 'treesit-explore' | 1003 | *** New command 'treesit-explore' |