瀏覽代碼

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

pull/5/head
10sr 9 年之前
父節點
當前提交
3ce7436314
共有 1 個檔案被更改,包括 0 行新增14 行删除
  1. +0
    -14
      emacs.el

+ 0
- 14
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 ()


Loading…
取消
儲存