mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-03-14 10:51:20 -07:00
Fix Ftreesit_parser_create
* src/treesit.c (Ftreesit_parser_create): We recently changed something such that base buffer and indirect buffer appears to use separate parser-lists. Therefore, creating a parser in one of the buffer shouldn't reuse the parser in another buffer.
This commit is contained in:
parent
ac98ff18f4
commit
f322905f6a
1 changed files with 2 additions and 1 deletions
|
|
@ -1467,7 +1467,8 @@ an indirect buffer. */)
|
|||
{
|
||||
struct Lisp_TS_Parser *parser = XTS_PARSER (XCAR (tail));
|
||||
if (EQ (parser->tag, tag)
|
||||
&& EQ (parser->language_symbol, language))
|
||||
&& EQ (parser->language_symbol, language)
|
||||
&& EQ (parser->buffer, buf_orig))
|
||||
return XCAR (tail);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue