Function: eglot--glob-fsm
eglot--glob-fsm is a byte-compiled function defined in eglot.el.gz.
Signature
(eglot--glob-fsm STATES &key (EXIT 'eobp) NOERROR)
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/eglot.el.gz
(cl-defun eglot--glob-fsm (states &key (exit 'eobp) noerror)
`(cl-labels ,(cl-loop for (this that) on states
for (self emit text) = this
for next = (or (car that) exit)
collect (funcall emit text self next))
,(if noerror
`(,(caar states))
`(or (,(caar states))
(error "Glob done but more unmatched text: '%s'"
(buffer-substring (point) (point-max)))))))