Emacs: Add reload-user-init-file command
Alan Pearce alan@alanpearce.eu
Sun, 24 Sep 2017 14:49:40 +0200
1 files changed, 5 insertions(+), 0 deletions(-)
jump to
M emacs/.emacs.d/init.el → emacs/.emacs.d/init.el
@@ -11,6 +11,11 @@ (setq package-archives nil) (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))