about summary refs log tree commit diff
path: root/init-settings.el
diff options
context:
space:
mode:
Diffstat (limited to 'init-settings.el')
-rw-r--r--init-settings.el6
1 files changed, 6 insertions, 0 deletions
diff --git a/init-settings.el b/init-settings.el
index 4f78a8cc104c..470e79b20e49 100644
--- a/init-settings.el
+++ b/init-settings.el
@@ -1,4 +1,6 @@
 (require 'uniquify)
+(require 'smart-mode-line)
+
 ; ## Generic settings ##
 
 ; Hide those ugly tool bars
@@ -42,6 +44,10 @@
       backup-directory-alist `(("." . ,(concat user-emacs-directory "backups")))
       diff-switches "-u")
 
+;; Fix mode line
+(if after-init-time (sml/setup)
+  (add-hook 'after-init-hook 'sml/setup))
+
 (setq smex-save-file (concat user-emacs-directory ".smex-items"))
 (smex-initialize)
 (global-set-key (kbd "M-x") 'smex)