瀏覽代碼

Stop reloading init file on emacs exit

master
10sr 6 年之前
父節點
當前提交
fe90981e97
共有 1 個文件被更改,包括 0 次插入9 次删除
  1. +0
    -9
      emacs.el

+ 0
- 9
emacs.el 查看文件

@@ -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…
取消
儲存