summary refs log tree commit diff stats
diff options
context:
space:
mode:
-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 22c3f72..643da1b 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))