Function: seq-setq
seq-setq is a macro defined in seq.el.gz.
Signature
(seq-setq ARGS SEQUENCE)
Documentation
Assign the elements of SEQUENCE to the variables in ARGS.
ARGS can also include the &rest marker followed by a variable
name to be bound to the rest of SEQUENCE.
Source Code
;; Defined in /usr/src/emacs/lisp/emacs-lisp/seq.el.gz
(defmacro seq-setq (args sequence)
"Assign the elements of SEQUENCE to the variables in ARGS.
ARGS can also include the `&rest' marker followed by a variable
name to be bound to the rest of SEQUENCE."
(declare (debug (sexp form)))
`(pcase-setq ,(seq--make-pcase-patterns args) ,sequence))