diff options
author | Alan Pearce | 2014-05-13 12:01:22 +0100 |
---|---|---|
committer | Alan Pearce | 2014-05-13 12:01:22 +0100 |
commit | 3fc8e2a13aae782204a2e29e84f02b5e84336723 (patch) | |
tree | c7786c74e58b29e3a178ae7b6b5d70a3ebbbe60b /tag-emacs/emacs.d | |
parent | 2b1bb067356b3750841ae4389cbc90d44321a4de (diff) | |
download | nixfiles-3fc8e2a13aae782204a2e29e84f02b5e84336723.tar.lz nixfiles-3fc8e2a13aae782204a2e29e84f02b5e84336723.tar.zst nixfiles-3fc8e2a13aae782204a2e29e84f02b5e84336723.zip |
Workaround smart-mode-line init issue
Diffstat (limited to 'tag-emacs/emacs.d')
-rw-r--r-- | tag-emacs/emacs.d/init.el | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el index 7edf942d..14da0089 100644 --- a/tag-emacs/emacs.d/init.el +++ b/tag-emacs/emacs.d/init.el @@ -474,11 +474,12 @@ (column-number-mode t) (size-indication-mode t) -(req-package smart-mode-line - :require solarized-theme - :init (progn - (setq sml/theme 'respectful) - (sml/setup))) +(add-to-list + 'after-make-frame-functions + (lambda (&optional x) + (require 'smart-mode-line) + (sml/setup) + (sml/apply-theme 'respectful))) ;;;; Modes |