[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ask for the value of several variables at once
From: |
Emanuel Berg |
Subject: |
Re: ask for the value of several variables at once |
Date: |
Fri, 09 Mar 2018 21:17:32 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) |
Robert L. wrote:
> (defun syms-status (&rest sym-list)
> (mapcar (lambda (s) (list s (symbol-value s))) sym-list))
>
> (defmacro vars-status (&rest sym-list)
> `(quote ,(apply #'syms-status sym-list)))
OK, backtick, quote, apply - plain and simple!
Didn't think of that :)
--
underground experts united
http://user.it.uu.se/~embe8573
- Re: ask for the value of several variables at once, (continued)
- Re: ask for the value of several variables at once, Uwe Brauer, 2018/03/09
- Message not available
- Re: ask for the value of several variables at once, Emanuel Berg, 2018/03/09
- Re: ask for the value of several variables at once, tomas, 2018/03/09
- Message not available
- Re: ask for the value of several variables at once, Emanuel Berg, 2018/03/09
- Re: ask for the value of several variables at once, tomas, 2018/03/09
- Re: ask for the value of several variables at once, Robert L., 2018/03/09
- Re: ask for the value of several variables at once,
Emanuel Berg <=
- Re: ask for the value of several variables at once, Yuri Khan, 2018/03/09
- Re: ask for the value of several variables at once, Uwe Brauer, 2018/03/09
- Message not available
- Re: ask for the value of several variables at once, Emanuel Berg, 2018/03/09