From 06058ef0d0f97d9694b66779f1c7104650ed3e76 Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Sun, 14 Oct 2012 14:03:30 +0900 Subject: [PATCH] reload-rcfile -> reload-init-file --- emacs.el | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/emacs.el b/emacs.el index d61e55d..77b571f 100644 --- a/emacs.el +++ b/emacs.el @@ -90,8 +90,8 @@ otherwise the path where the library installed." (and (fboundp 'set-scroll-bar-mode) (set-scroll-bar-mode nil)) (add-hook 'kill-emacs-hook - ;; load when exitting to examine if file is written properly - 'reload-rcfile) + ;; load init file when terminating emacs to ensure file is not broken + 'reload-init-file) (add-hook 'after-init-hook (lambda () @@ -136,8 +136,8 @@ otherwise the path where the library installed." t) (require 'save-window-size nil t)) -(defun reload-rcfile () - "Reload emacs rc file." +(defun reload-init-file () + "Reload emacs init file." (interactive) (when (file-readable-p user-init-file) (load-file user-init-file)))