最小配置https://www.refheap.com/18816
情景 1。
- 从终端运行“emacs”。
- Mx 服务器启动
- 从终端运行“emacsclient -c”。
- 效果:应用主题。
情景 2。
- 从终端运行'emacs --daemon'
- 运行'emacsclient -c'
- 效果:未应用主题。
这是为什么?
.emacs.d/init.d 配置:
(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)
或者
;(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.
)