|
From: | Pankaj Jangid |
Subject: | Re: Emacs --with-pgtk and use-package |
Date: | Fri, 25 Mar 2022 14:22:41 +0530 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Po Lu <luangruo@yahoo.com> writes: >> (use-package emacs >> :when (memq window-system '(mac ns x)) >> :config >> (load-theme 'modus-vivendi) >> :bind ("<f5>" . modus-themes-toggle)) >> >> I did not use ‘pgtk’ in the above ":when" clause. > > Thanks, people should probably be taught to use `display-graphic-p' > instead of manually testing the value of `window-system'. Thanks. I’ve updated my config and will keep that in mind.
[Prev in Thread] | Current Thread | [Next in Thread] |