Emanuel Berg <[email protected]> writes:

> In your case, you could do
> 
> (defun strip-signature (re &optional rep)
>   (or rep (setq rep ""))
>   ;; ...

It's amazing. But I want to avoid grobal variable.
Please show me the way to use let instead of setq.
I don't know how to use it in this case.

> Okay, I dare say most people would write that
> 
>   (dolist (e '((1 2) (3 4)))
>     (message "%s %s" (car e) (cadr e)) )
> 
> Or maybe
> 
>   (require 'cl-lib)
>   (cl-loop for (a b) in '((x y) (i j)) do
>     (message "%s %s" a b) )

Thank you. I want to use dolist.

-- 
Satoshi Yoshida

Reply via email to