about summary refs log tree commit diff
path: root/init-settings.el
diff options
context:
space:
mode:
authorVincent Ambo <vincent@spotify.com>2013-10-19T20·44+0200
committerVincent Ambo <vincent@spotify.com>2013-10-19T20·44+0200
commit8a33aaa7caee17f42df1213e436c2fc84cf2d51d (patch)
tree3a582dd39d606d878810c7327ef46db3096fa051 /init-settings.el
parent53162ecd24431387769c2c125f4764ae1c97ac8d (diff)
Added smart-mode-line
In line with this I've finally kicked the Nyan-cat out. Sorry!
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)