|
From: | Stefan Monnier |
Subject: | Re: Elisp newbie string to symbol help |
Date: | Fri, 08 Mar 2019 00:40:44 -0500 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
> (if (string-suffix-p "dark" current-theme) > (load-theme (concat theme "-light")) > (load-theme (concat theme "-dark")))) Aka (load-theme (concat theme (if (string-suffix-p "dark" current-theme) "-light" "-dark"))) -- Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |