* lisp/treesit.el
(treesit-simple-indent-presets): Do that for 'or' as well.
res))))
(cons 'or (lambda (&rest fns)
(lambda (node parent bol &rest _)
- (seq-find
- (lambda (fn) (funcall fn node parent bol))
- fns))))
+ (let (res)
+ (catch 'break
+ (dolist (fn fns)
+ (setq res (funcall fn node parent bol))
+ (and res (throw 'break t))))
+ res))))
(cons 'not (lambda (fn)
(lambda (node parent bol &rest _)
(not (funcall fn node parent bol)))))