mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-21 06:55:39 +00:00
Fix treesit_traverse_get_predicate (bug#68954)
Commit d005e685e1
should have used
assq_no_signal, but didn't, this commit fixes that.
* src/treesit.c (treesit_traverse_get_predicate): Replace assq_no_quit
with assq_no_signal.
Copyright-paperwork-exempt: yes
This commit is contained in:
parent
b382135769
commit
4e5068b7b3
@ -3275,11 +3275,11 @@ treesit_traverse_child_helper (TSTreeCursor *cursor,
|
||||
static Lisp_Object
|
||||
treesit_traverse_get_predicate (Lisp_Object thing, Lisp_Object language)
|
||||
{
|
||||
Lisp_Object cons = assq_no_quit (language, Vtreesit_thing_settings);
|
||||
Lisp_Object cons = assq_no_signal (language, Vtreesit_thing_settings);
|
||||
if (NILP (cons))
|
||||
return Qnil;
|
||||
Lisp_Object definitions = XCDR (cons);
|
||||
Lisp_Object entry = assq_no_quit (thing, definitions);
|
||||
Lisp_Object entry = assq_no_signal (thing, definitions);
|
||||
if (NILP (entry))
|
||||
return Qnil;
|
||||
/* ENTRY looks like (THING PRED). */
|
||||
|
Loading…
Reference in New Issue
Block a user