Ihor Radchenko writes: > Not sure about pcase-let, but pcase-dolist specifically may be > simplified not to use pcase-let: > > (if (pcase--trivial-upat-p (car spec)) > `(dolist ,spec ,@body) > (let ((tmpvar (gensym "x"))) > `(dolist (,tmpvar ,@(cdr spec)) > (pcase ,tmpvar (,(car spec) ,@body))))) See the attached patch. If the patch is acceptable, we also need to update the manual.