[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Emacs --with-pgtk and use-package

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 <> 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.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]