diff options
author | Alan Pearce | 2017-09-24 14:49:40 +0200 |
---|---|---|
committer | Alan Pearce | 2017-09-24 14:49:40 +0200 |
commit | 78673c644973ad84aec8ce9935971db11f7f2f02 (patch) | |
tree | 9b2c1bccc8598fb8f31761a316d681ee71247ba8 /emacs | |
parent | 9a875c4c1da6dc78fc78ddc9262106c52788f65f (diff) | |
download | dotfiles-78673c644973ad84aec8ce9935971db11f7f2f02.tar.lz dotfiles-78673c644973ad84aec8ce9935971db11f7f2f02.tar.zst dotfiles-78673c644973ad84aec8ce9935971db11f7f2f02.zip |
Emacs: Add reload-user-init-file command
Diffstat (limited to 'emacs')
-rw-r--r-- | emacs/.emacs.d/init.el | 5 |
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)) |