projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
de6a652
)
; * src/treesit.c (Ftreesit_parser_set_included_ranges): Minor fix.
author
Yuan Fu
<casouri@gmail.com>
Thu, 14 Sep 2023 04:41:56 +0000
(21:41 -0700)
committer
Yuan Fu
<casouri@gmail.com>
Thu, 14 Sep 2023 04:41:56 +0000
(21:41 -0700)
src/treesit.c
patch
|
blob
|
history
diff --git
a/src/treesit.c
b/src/treesit.c
index 890091e3419a838f0de68c749132c9a4fcf51d16..91d4616253dc182fcc911f0f3182474025327f33 100644
(file)
--- a/
src/treesit.c
+++ b/
src/treesit.c
@@
-1657,7
+1657,7
@@
buffer. */)
if (!NILP (ranges))
CHECK_CONS (ranges);
- if (
Fequal (XTS_PARSER (parser)->last_set_ranges, ranges
))
+ if (
!NILP (Fequal (XTS_PARSER (parser)->last_set_ranges, ranges)
))
return Qnil;
treesit_check_range_argument (ranges);