Emacs lisp snippets

from blog lmno.lol @alvaro, | ↗ original
cl-loop for in (cl-loop for day in '("mon" "tue" "wed" "thu" "fri" "sat" "sun") do (print day)) cl-loop for from to (cl-loop for x from 1 to 5 do (print x)) pcase literal matching (pcase "word" ('word (message "Matched 'word symbol")) ("word" (message "Matched \"word\" string"))) Avoid nesting with the help of thread-first...