EMACS: moved emacs.el to emacs.d/init.el

This commit is contained in:
Tom Willemsen 2011-07-27 23:47:42 +02:00
parent a9c05ddb3d
commit 2969e688d4
4 changed files with 12 additions and 18 deletions

View file

@ -1,6 +0,0 @@
(add-to-list 'load-path "~/.emacs.d/elisp")
(add-to-list 'load-path "~/.emacs.d/naquadah-theme")
(add-to-list 'load-path "~/.emacs.d/elisp/markdown-mode")
(add-to-list 'load-path "~/.emacs.d/elisp/git-commit-mode")
(byte-compile-file "emacs.el")

View file

@ -1,5 +1,5 @@
;; -*- mode: Emacs-Lisp; -*-
(add-to-list 'load-path "~/.emacs.d/elisp")
(load "~/.emacs.d/ryuslash-load-path")
;;; Autopair
(require 'autopair)
@ -62,7 +62,6 @@
(org-crypt-use-before-save-magic)
;;; Rainbow delimiters
(add-to-list 'load-path "~/.emacs.d/elisp/rainbow-delimiters")
(require 'rainbow-delimiters)
(setq rainbow-delimiters-max-face-count 8)
@ -88,7 +87,6 @@
(require 'git)
;;; Markdown mode
(add-to-list 'load-path "~/.emacs.d/elisp/markdown-mode")
(autoload 'markdown-mode "markdown-mode" "Major mode for Markdown" t)
(setq whitespace-style '(face trailing)) ; For use with markdown mode
(add-to-list 'auto-mode-alist '("\\.m\\(ark\\)?do?wn$". markdown-mode))
@ -98,16 +96,10 @@
(turn-on-auto-fill)))
;;; Zencoding mode
(add-to-list 'load-path "~/.emacs.d/elisp/zencoding")
(autoload 'zencoding-mode "zencoding-mode" "Minor mode for zencoding" t)
(add-hook 'sgml-mode-hook 'zencoding-mode) ; Auto-start on any markup
; modes
(add-to-list 'load-path "~/.emacs.d/elisp/git-commit-mode")
(add-to-list 'load-path "~/.emacs.d/elisp/lua-mode")
(add-to-list 'load-path "~/.emacs.d/elisp/pi-php-mode")
(add-to-list 'load-path "~/.emacs.d/elisp/rainbow")
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; REQUIRES ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

View file

@ -0,0 +1,10 @@
(add-to-list 'load-path "~/.emacs.d/elisp")
(add-to-list 'load-path "~/.emacs.d/elisp/git-commit-mode")
(add-to-list 'load-path "~/.emacs.d/elisp/lua-mode")
(add-to-list 'load-path "~/.emacs.d/elisp/markdown-mode")
(add-to-list 'load-path "~/.emacs.d/elisp/pi-php-mode")
(add-to-list 'load-path "~/.emacs.d/elisp/rainbow")
(add-to-list 'load-path "~/.emacs.d/elisp/rainbow-delimiters")
(add-to-list 'load-path "~/.emacs.d/elisp/zencoding")
(provide 'ryuslash-load-path)

View file

@ -48,9 +48,7 @@ linkmy conkeror .conkeror
linkmy conkyrc .conkyrc
copymy conky_box.lua .conky_box.lua
# EMACS
linkmy emacs.el .emacs.el
emacs --script compile-emacs.el || return 1
linkmy emacs.elc .emacs.elc
emacs --batch -l emacs.d/init.el --eval "(byte-compile-file \"emacs.d/init.el\")" || return 1
linkmy emacs.d .emacs.d
# FONTS
linkmy fonts.conf .fonts.conf