summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2014-05-24 21:04:54 +0100
committerAlan Pearce2014-05-24 21:04:54 +0100
commit486fd3e770609985b16503b531b6ab10cfa1ff40 (patch)
tree8091eab0639e05dc09e7b6fc75f0a60e9305ab02
parentebd29a72ca0d8cc6d543c88f3503fcd690d511c9 (diff)
downloadnixfiles-486fd3e770609985b16503b531b6ab10cfa1ff40.tar.lz
nixfiles-486fd3e770609985b16503b531b6ab10cfa1ff40.tar.zst
nixfiles-486fd3e770609985b16503b531b6ab10cfa1ff40.zip
Emacs: switch back to loading sml with req-package
-rw-r--r--tag-emacs/emacs.d/init.el12
1 files changed, 5 insertions, 7 deletions
diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el
index f9a098bd..a0efc916 100644
--- a/tag-emacs/emacs.d/init.el
+++ b/tag-emacs/emacs.d/init.el
@@ -474,13 +474,11 @@
 (column-number-mode t)
 (size-indication-mode t)
 
-(add-to-list
- 'after-make-frame-functions
- (lambda (&optional x)
-   (require 'smart-mode-line)
-   (sml/setup)
-   (sml/apply-theme 'respectful)))
-
+(req-package smart-mode-line
+  :require solarized-theme
+  :config (progn
+            (setq sml/theme 'respectful)
+            (sml/setup)))
 ;;;; Modes
 
 ;;;; systemd files