Browse Source

Stop reloading init file on emacs exit

master
10sr 6 years ago
parent
commit
fe90981e97
1 changed files with 0 additions and 9 deletions
  1. +0
    -9
      emacs.el

+ 0
- 9
emacs.el View File

@@ -206,15 +206,6 @@ found, otherwise returns nil."
(tool-bar-mode 0))
(and (fboundp 'set-scroll-bar-mode)
(set-scroll-bar-mode nil))
(add-hook 'kill-emacs-hook
;; load init file when terminating emacs to ensure file is not broken
'reload-init-file)

(defun my-force-kill-emacs ()
"My force kill Emacs."
(interactive)
(let ((kill-emacs-hook nil))
(kill-emacs)))

(call-after-init
(lambda ()


Loading…
Cancel
Save