Browse Source

emacs.el: Remove prapre-init-el, now this should be done with make setup-rc

pull/5/head
10sr 9 years ago
parent
commit
3ce7436314
1 changed files with 0 additions and 14 deletions
  1. +0
    -14
      emacs.el

+ 0
- 14
emacs.el View File

@@ -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 ()


Loading…
Cancel
Save