fix(ui): Load correct theme on Android
This commit is contained in:
@@ -16,12 +16,14 @@
|
||||
'(solarized-emacs :fork (:host github :repo "Andsy10/solarized-emacs"))
|
||||
:init
|
||||
;; 把主题加载延迟到frame创建之后,防止daemon模式下宏不能正常展开
|
||||
(if (daemonp)
|
||||
(if (and (daemonp) (not *is-android*))
|
||||
(add-hook 'after-make-frame-functions
|
||||
(lambda (frame)
|
||||
(with-selected-frame frame
|
||||
(load-theme 'my-dark t))))
|
||||
(load-theme 'my-dark t)))
|
||||
(if *is-android*
|
||||
(load-theme 'my-light t)
|
||||
(load-theme 'my-dark t))))
|
||||
|
||||
;; 行号
|
||||
(use-package display-line-numbers
|
||||
|
||||
Reference in New Issue
Block a user