|
From: | Po Lu |
Subject: | Re: Emacs --with-pgtk and use-package |
Date: | Fri, 25 Mar 2022 08:55:36 +0800 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) |
Pankaj Jangid <pankaj@codeisgreat.org> writes: > Extremely sorry for the noise. Following condition check was causing the > issue: > > (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'.
[Prev in Thread] | Current Thread | [Next in Thread] |