]> git.eshelyaron.com Git - emacs.git/commit
New helper function assq_no_signal
authorYuan Fu <casouri@gmail.com>
Mon, 17 Apr 2023 03:33:51 +0000 (20:33 -0700)
committerYuan Fu <casouri@gmail.com>
Mon, 17 Apr 2023 03:33:51 +0000 (20:33 -0700)
commitd005e685e1df7692085378633348db39a5190374
treec12c2472fe53402ba341b0b518866aad34d6dc42
parent6c81ef4cf985dad908fc473f31c0daf662fd2dad
New helper function assq_no_signal

* src/fns.c (assq_no_signal): New function.
* src/lisp.h (assoc_no_signal): Declare it.
* src/treesit.c (safe_assq): Remove function.
(treesit_traverse_get_predicate): Change safe_assq to assq_no_signal.
src/fns.c
src/lisp.h
src/treesit.c