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: Uwe Brauer
Subject: Re: ask for the value of several variables at once
Date: Fri, 09 Mar 2018 19:18:40 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

   > tomas wrote:

   > Here is a "classical" solution. How to rewrite
   > it the "other" way, only Jehovah knows...

   >     (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?




reply via email to

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