diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/treesit.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/treesit.c b/src/treesit.c index 5de75219907..2f06de67ad8 100644 --- a/src/treesit.c +++ b/src/treesit.c | |||
| @@ -1946,7 +1946,10 @@ which the parser should operate. Regions must not overlap, and the | |||
| 1946 | regions should come in order in the list. Signal | 1946 | regions should come in order in the list. Signal |
| 1947 | `treesit-set-range-error' if the argument is invalid, or something | 1947 | `treesit-set-range-error' if the argument is invalid, or something |
| 1948 | else went wrong. If RANGES is nil, the PARSER is to parse the whole | 1948 | else went wrong. If RANGES is nil, the PARSER is to parse the whole |
| 1949 | buffer. */) | 1949 | buffer. |
| 1950 | |||
| 1951 | DO NOT modify RANGES after passing it to this function, as RANGES is | ||
| 1952 | saved to PARSER internally. */) | ||
| 1950 | (Lisp_Object parser, Lisp_Object ranges) | 1953 | (Lisp_Object parser, Lisp_Object ranges) |
| 1951 | { | 1954 | { |
| 1952 | treesit_check_parser (parser); | 1955 | treesit_check_parser (parser); |