]> git.eshelyaron.com Git - emacs.git/commit
Accept nil as NODE in treesit-node-text
authorYuan Fu <casouri@gmail.com>
Sun, 25 Sep 2022 02:24:06 +0000 (19:24 -0700)
committerYuan Fu <casouri@gmail.com>
Sun, 25 Sep 2022 04:11:30 +0000 (21:11 -0700)
commit1575ee2eeb1ebb5b73b4b76fc7dc7f5702748540
treeee65867226550f44e5c912edd8888129f7655392
parent17422c2cfcbf1670ba4dbe3ecdf3c5ff719201cc
Accept nil as NODE in treesit-node-text

* lisp/treesit.el (treesit-node-text): Just wrap function body
in (when ...).
lisp/treesit.el