Function: return-from

return-from is a for cl-return-from, defined in cl-macs.el.gz.

This macro is obsolete since 27.1; use cl-return-from instead.

Signature

(return-from NAME &optional RESULT)

Documentation

Return from the block named NAME.

This jumps out to the innermost enclosing (cl-block NAME ...) form, returning RESULT from that form (or nil if RESULT is omitted). This is compatible with Common Lisp, but note that defun and defmacro do not create implicit blocks as they do in Common Lisp.

Aliases

return-from (obsolete since 27.1)