Minimal config https://www.refheap.com/18816
Scenario 1.
- Run 'emacs' from terminal.
- M-x server-start
- Run 'emacsclient -c' from terminal.
- Effect: Theme applied.
Scenario 2.
- Run 'emacs --daemon' from terminal
- Run 'emacsclient -c'
- Effect: Theme is not applied.
Why is that?
.emacs.d/init.d config:
(require 'package)
(package-initialize)
(defun install-pack (p)
"A utility function to help in installing emacs package."
(unless (package-installed-p p) (package-install p)))
(defun install-packs (packs)
"A utility function to help in installing emacs packages."
(unless package-archive-contents
(package-refresh-contents))
(dolist (p packs) (install-pack p)))
;(load-theme 'tronesque)
(load-theme 'tronesque t)
or
;(load-theme 'tronesque)
;;(load-theme 'tronesque t)
(custom-set-variables
;; custom-set-variables was added by Custom.
'(custom-enabled-themes (quote (tronesque)))
'(custom-safe-themes (quote ("b8f561a188a77e450ab8a060128244c81dea206f15c1152a6899423dd607b327" default))))
(custom-set-faces
;; custom-set-faces was added by Custom.
)