Skip to content

Instantly share code, notes, and snippets.

@emmanueldenloye
Created December 3, 2018 23:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save emmanueldenloye/9c209117939a987de66200c5b06ae094 to your computer and use it in GitHub Desktop.
Save emmanueldenloye/9c209117939a987de66200c5b06ae094 to your computer and use it in GitHub Desktop.
Reload your init file without restarting emacs
(defun unsafe-reload-init-file
()
"Reload init.el file"
(interactive)
(let
((debug-on-error t))
(load user-init-file)
(message "Reloaded init.el OK.")))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment