From 3ce7436314f30d580d07022b03b11aeca48e1fa8 Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Sun, 25 Jan 2015 00:06:35 +0900 Subject: [PATCH] emacs.el: Remove prapre-init-el, now this should be done with make setup-rc --- emacs.el | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/emacs.el b/emacs.el index 9c070cb..3a4a011 100644 --- a/emacs.el +++ b/emacs.el @@ -19,20 +19,6 @@ (eval-when-compile (require 'cl nil t)) -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -;; prepare init.el - -(defun prepare-init-el (elfile) - "Prepare ~/.emacs/init.el to load ELFILE." - (interactive "fFilename to set to be loaded: ") - (with-temp-buffer - (insert (format "(and (file-readable-p \"%s\") - (load-file \"%s\"))" - elfile - elfile)) - (write-file (expand-file-name (concat user-emacs-directory - "init.el"))))) - ;; (add-hook 'after-change-major-mode-hook ;; (lambda ()