|
From: | Emanuel Berg |
Subject: | Re: ask for the value of several variables at once |
Date: | Sat, 17 Mar 2018 18:25:08 +0100 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) |
> (require 'cl-lib) > (defun all-systems-ready () > (interactive) > (let ((report (vars-status message-yank-cited-prefix message-yank-prefix)) > (output "")) > (cl-loop > for (var val) in report do > (setq output (concat output (format "%s: [%s] " var val))) ) > (message output) )) > ;; (all-systems-ready) Maybe one doesn't have to require cl-lib, because cl-loop is autoloaded... -- underground experts united http://user.it.uu.se/~embe8573
[Prev in Thread] | Current Thread | [Next in Thread] |