help-gnu-emacs
[Top][All Lists]
Advanced

[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: Sun, 18 Mar 2018 16:09:41 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)

Stefan Monnier wrote:

> Why not
>
>     (defun syms-status (sym-list)
>       (mapcar (lambda (s) (list s (symbol-value s))) sym-list))
>
>     (defmacro vars-status (&rest sym-list)
>       `(syms-status ',sym-list))

I don't KNOW, but it is shorter and works with
no complains from the byte compiler, so I have
changed it that way:

    http://user.it.uu.se/~embe8573/emacs-init/geh.el

-- 
underground experts united
http://user.it.uu.se/~embe8573


reply via email to

[Prev in Thread] Current Thread [Next in Thread]