; * etc/NEWS: Fix typos.
This commit is contained in:
parent
50d18bb6ea
commit
cf1b771864
1 changed files with 16 additions and 16 deletions
30
etc/NEWS
30
etc/NEWS
|
@ -31,12 +31,12 @@ in the Emacs tree should be natively compiled ahead of time. (This is
|
||||||
slow on most machines.)
|
slow on most machines.)
|
||||||
|
|
||||||
+++
|
+++
|
||||||
** Emacs can be built with the 'tree-sitter' parsing library.
|
** Emacs can be built with the tree-sitter parsing library.
|
||||||
This library, together with grammar libraries, provides incremental
|
This library, together with grammar libraries, provides incremental
|
||||||
parsing capabilities for several popular programming languages and
|
parsing capabilities for several popular programming languages and
|
||||||
other formatted files. Emacs built with this library offers major
|
other formatted files. Emacs built with this library offers major
|
||||||
modes, described elsewhere in this file, that are based on the
|
modes, described elsewhere in this file, that are based on the
|
||||||
'tree-sitter's parsers. If you have the 'tree-sitter' library
|
tree-sitter's parsers. If you have the tree-sitter library
|
||||||
installed, the configure script will automatically include it in the
|
installed, the configure script will automatically include it in the
|
||||||
build; use '--without-tree-sitter' at configure time to disable that.
|
build; use '--without-tree-sitter' at configure time to disable that.
|
||||||
|
|
||||||
|
@ -51,15 +51,15 @@ yourself. Many libraries can be downloaded from the tree-sitter site:
|
||||||
|
|
||||||
https://github.com/tree-sitter
|
https://github.com/tree-sitter
|
||||||
|
|
||||||
To compile such a library, compile the files scanner.c and parser.c
|
To compile such a library, compile the files "scanner.c" and "parser.c"
|
||||||
(sometimes named scanner.cc and parser.cc) in the 'src' subdirectory
|
(sometimes named "scanner.cc" and "parser.cc") in the "src" subdirectory
|
||||||
of the library's source tree using the C or C++ compiler, then link
|
of the library's source tree using the C or C++ compiler, then link
|
||||||
these two files into a shared library named 'libtree-sitter-LANG.so',
|
these two files into a shared library named "libtree-sitter-LANG.so",
|
||||||
where LANG is the name of the language supported by the grammar as it
|
where LANG is the name of the language supported by the grammar as it
|
||||||
is expected by the Emacs major mode (for example, "c" for c-ts-mode,
|
is expected by the Emacs major mode (for example, "c" for 'c-ts-mode',
|
||||||
"cpp" for c++-ts-mode, "python" for python-ts-mode, etc.). Then place
|
"cpp" for 'c++-ts-mode', "python" for 'python-ts-mode', etc.). Then place
|
||||||
the shared library you've built in the same directory where you keep
|
the shared library you've built in the same directory where you keep
|
||||||
the other shared libraries used by Emacs, or in the 'tree-sitter'
|
the other shared libraries used by Emacs, or in the "tree-sitter"
|
||||||
subdirectory of your 'user-emacs-directory', or in a directory
|
subdirectory of your 'user-emacs-directory', or in a directory
|
||||||
mentioned in the variable 'treesit-extra-load-path'.
|
mentioned in the variable 'treesit-extra-load-path'.
|
||||||
|
|
||||||
|
@ -3065,13 +3065,13 @@ optional, and you must turn them on manually, or customize
|
||||||
'auto-mode-alist' to turn them on automatically.
|
'auto-mode-alist' to turn them on automatically.
|
||||||
|
|
||||||
Each major mode based on tree-sitter needs a language grammar library,
|
Each major mode based on tree-sitter needs a language grammar library,
|
||||||
usually named 'libtree-sitter-LANG.so' ('libtree-sitter-LANG.dll' on
|
usually named "libtree-sitter-LANG.so" ("libtree-sitter-LANG.dll" on
|
||||||
MS-Windows), where LANG is the corresponding language name. Emacs
|
MS-Windows), where LANG is the corresponding language name. Emacs
|
||||||
looks for these libraries in the following places:
|
looks for these libraries in the following places:
|
||||||
|
|
||||||
. in the directories mentioned in the list 'treesit-extra-load-path'
|
. in the directories mentioned in the list 'treesit-extra-load-path'
|
||||||
. in the 'tree-sitter' subdirectory of your 'user-emacs-directory'
|
. in the "tree-sitter" subdirectory of your 'user-emacs-directory'
|
||||||
(by default, '~/.emacs.d/tree-sitter')
|
(by default, "~/.emacs.d/tree-sitter")
|
||||||
. in the standard system directories where other shared libraries are
|
. in the standard system directories where other shared libraries are
|
||||||
usually installed
|
usually installed
|
||||||
|
|
||||||
|
@ -4541,13 +4541,13 @@ needed. The table uses new 'external' completion style exclusively
|
||||||
and cannot work with regular styles such as 'basic' or 'flex'.
|
and cannot work with regular styles such as 'basic' or 'flex'.
|
||||||
|
|
||||||
+++
|
+++
|
||||||
** Magic file handlers for make-directory-internal are no longer needed.
|
** Magic file name handlers for 'make-directory-internal' are no longer needed.
|
||||||
Instead, Emacs uses the already-existing make-directory handlers.
|
Instead, Emacs uses the already-existing 'make-directory' handlers.
|
||||||
|
|
||||||
+++
|
+++
|
||||||
** (make-directory DIR t) returns non-nil if DIR already exists.
|
** '(make-directory DIR t)' returns non-nil if DIR already exists.
|
||||||
This can let a caller know whether it created DIR. Formerly,
|
This can let a caller know whether it created DIR. Formerly,
|
||||||
make-directory's return value was unspecified.
|
'make-directory's return value was unspecified.
|
||||||
|
|
||||||
|
|
||||||
* Changes in Emacs 29.1 on Non-Free Operating Systems
|
* Changes in Emacs 29.1 on Non-Free Operating Systems
|
||||||
|
|
Loading…
Add table
Reference in a new issue