EMACS: moved emacs.el to emacs.d/init.el
This commit is contained in:
parent
a9c05ddb3d
commit
2969e688d4
4 changed files with 12 additions and 18 deletions
|
@ -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")
|
|
|
@ -1,5 +1,5 @@
|
||||||
;; -*- mode: Emacs-Lisp; -*-
|
;; -*- mode: Emacs-Lisp; -*-
|
||||||
(add-to-list 'load-path "~/.emacs.d/elisp")
|
(load "~/.emacs.d/ryuslash-load-path")
|
||||||
|
|
||||||
;;; Autopair
|
;;; Autopair
|
||||||
(require 'autopair)
|
(require 'autopair)
|
||||||
|
@ -62,7 +62,6 @@
|
||||||
(org-crypt-use-before-save-magic)
|
(org-crypt-use-before-save-magic)
|
||||||
|
|
||||||
;;; Rainbow delimiters
|
;;; Rainbow delimiters
|
||||||
(add-to-list 'load-path "~/.emacs.d/elisp/rainbow-delimiters")
|
|
||||||
(require 'rainbow-delimiters)
|
(require 'rainbow-delimiters)
|
||||||
(setq rainbow-delimiters-max-face-count 8)
|
(setq rainbow-delimiters-max-face-count 8)
|
||||||
|
|
||||||
|
@ -88,7 +87,6 @@
|
||||||
(require 'git)
|
(require 'git)
|
||||||
|
|
||||||
;;; Markdown mode
|
;;; Markdown mode
|
||||||
(add-to-list 'load-path "~/.emacs.d/elisp/markdown-mode")
|
|
||||||
(autoload 'markdown-mode "markdown-mode" "Major mode for Markdown" t)
|
(autoload 'markdown-mode "markdown-mode" "Major mode for Markdown" t)
|
||||||
(setq whitespace-style '(face trailing)) ; For use with markdown mode
|
(setq whitespace-style '(face trailing)) ; For use with markdown mode
|
||||||
(add-to-list 'auto-mode-alist '("\\.m\\(ark\\)?do?wn$". markdown-mode))
|
(add-to-list 'auto-mode-alist '("\\.m\\(ark\\)?do?wn$". markdown-mode))
|
||||||
|
@ -98,16 +96,10 @@
|
||||||
(turn-on-auto-fill)))
|
(turn-on-auto-fill)))
|
||||||
|
|
||||||
;;; Zencoding mode
|
;;; Zencoding mode
|
||||||
(add-to-list 'load-path "~/.emacs.d/elisp/zencoding")
|
|
||||||
(autoload 'zencoding-mode "zencoding-mode" "Minor mode for zencoding" t)
|
(autoload 'zencoding-mode "zencoding-mode" "Minor mode for zencoding" t)
|
||||||
(add-hook 'sgml-mode-hook 'zencoding-mode) ; Auto-start on any markup
|
(add-hook 'sgml-mode-hook 'zencoding-mode) ; Auto-start on any markup
|
||||||
; modes
|
; 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 ;;
|
;; REQUIRES ;;
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
10
emacs.d/ryuslash-load-path.el
Normal file
10
emacs.d/ryuslash-load-path.el
Normal 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)
|
|
@ -48,9 +48,7 @@ linkmy conkeror .conkeror
|
||||||
linkmy conkyrc .conkyrc
|
linkmy conkyrc .conkyrc
|
||||||
copymy conky_box.lua .conky_box.lua
|
copymy conky_box.lua .conky_box.lua
|
||||||
# EMACS
|
# EMACS
|
||||||
linkmy emacs.el .emacs.el
|
emacs --batch -l emacs.d/init.el --eval "(byte-compile-file \"emacs.d/init.el\")" || return 1
|
||||||
emacs --script compile-emacs.el || return 1
|
|
||||||
linkmy emacs.elc .emacs.elc
|
|
||||||
linkmy emacs.d .emacs.d
|
linkmy emacs.d .emacs.d
|
||||||
# FONTS
|
# FONTS
|
||||||
linkmy fonts.conf .fonts.conf
|
linkmy fonts.conf .fonts.conf
|
||||||
|
|
Loading…
Reference in a new issue