0

The function cycle-themes have cycle-themes-theme-list as a quoted list, e.g., (setq cycle-themes-theme-list '(tsdh-light wheatgrass whiteboard womba)).

At the same time, (custom-available-themes) will return all available themes. How do I apply the quote to this expanded list?

#+begin_src emacs-lisp
 (use-package cycle-themes
  :ensure t
  :init (setq cycle-themes-theme-list
          (quote-after-expand (custom-available-themes))))
#+end_src
Drew
  • 77,472
  • 10
  • 114
  • 243
BuddhiLW
  • 297
  • 1
  • 7

1 Answers1

1

You just need

(setq cycle-themes-theme-list (custom-available-themes))

here (try it!). cycle-themes-theme-list just wants a list. The point of the quote in

(setq cycle-themes-theme-list '(tsdh-light wheatgrass whiteboard womba))

is to prevent elisp from evaluating the target list (and so treating tsdh-light as a function with arguments wheatgrass, whiteboard and womba).

Fran Burstall
  • 3,855
  • 11
  • 18