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: Fri, 09 Mar 2018 20:30:39 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)

Uwe Brauer wrote:

>> (defun echo-vars (&rest vars) (mapcar
>> (lambda (v) (list (symbol-name v)
>> (symbol-value v))) vars)) ;; (echo-vars
>> 'fill-column 'buffer-file-name)
>
> Well but how is this supposed to work?
> So far, for me only Yuri's solution returned
> what I was looking for. I wonder what I miss?

You are missing a wrapper that will put the
general solution to work for your specific
use-case...

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


reply via email to

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