help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: properly setting up ~/.emacs.d for daemon usage


From: Óscar Fuentes
Subject: Re: properly setting up ~/.emacs.d for daemon usage
Date: Mon, 12 Dec 2016 20:48:34 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

Filipe Silva <address@hidden> writes:

> ​Hum. Óscar and Yuri, would't place the load-theme call inside the
> create-frame hook solve the problem?​

At that point display-graphic-p should work fine, so yes (*)

(defun my-after-make-frame-function (_frame)
  (load-theme 'my-awesome-theme t))

(add-hook 'after-make-frame-functions 'my-after-make-frame-function)


* Depending on the exact meaning of "the problem" :-) People with
  different use cases (mine included) might find that solution
  unsatisfactory.




reply via email to

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