]> git.eshelyaron.com Git - emacs.git/commit
(treesit-simple-indent-presets): Short-circuit 'and' and 'or'
authorDmitry Gutov <dgutov@yandex.ru>
Sat, 7 Jan 2023 00:02:25 +0000 (02:02 +0200)
committerDmitry Gutov <dgutov@yandex.ru>
Sat, 7 Jan 2023 00:02:25 +0000 (02:02 +0200)
commitf2ebe43362cab1b8d88674dad60b1ed3c822bb54
tree46c59c1f1b74be3dea32a8ac7bb78b3b985e2e4c
parent2ea6ee5cbfac5c5e9a1e27ddda2d88cdedc6a6eb
(treesit-simple-indent-presets): Short-circuit 'and' and 'or'

* lisp/treesit.el (treesit-simple-indent-presets):
Short-circuit the 'and' and 'or' matchers.  To avoid calling all
fns after one returned nil or truthy value, respectively.
lisp/treesit.el