summary refs log tree commit diff stats
path: root/emacs
diff options
context:
space:
mode:
Diffstat (limited to 'emacs')
-rw-r--r--emacs/.emacs.d/init.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/emacs/.emacs.d/init.el b/emacs/.emacs.d/init.el
index 22c3f72c..643da1b8 100644
--- a/emacs/.emacs.d/init.el
+++ b/emacs/.emacs.d/init.el
@@ -11,6 +11,11 @@
 (package-initialize)
 (require 'auto-compile nil :noerror)
 
+(defun reload-user-init-file ()
+  "Reload init file."
+  (interactive)
+  (load-file user-init-file))
+
 (when (featurep 'auto-compile)
   (auto-compile-on-load-mode))