Does elisp have a way to jump to (goto) labels in the code, ala common lisp's go?
(tagbody (setq val 2) (go lp) (incf val 3) lp (incf val 4)) => NIL val => 6 PS: This is a question about control flow, not jumping to locations in files.
Does elisp have a way to jump to (goto) labels in the code, ala common lisp's go?
(tagbody (setq val 2) (go lp) (incf val 3) lp (incf val 4)) => NIL val => 6 PS: This is a question about control flow, not jumping to locations in files.
cl-liblibrary offerscl-tagbody(and, I presume, friends), which offers some of the common lisp primitives to do this sort of thing.