Auto-load git-commit and require git
This commit is contained in:
parent
48955978e9
commit
3de2fae246
3 changed files with 1709 additions and 2 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -10,3 +10,4 @@ log
|
||||||
*.elc
|
*.elc
|
||||||
auto-save-list
|
auto-save-list
|
||||||
xhtml-loader.rnc
|
xhtml-loader.rnc
|
||||||
|
.commitmsg
|
||||||
|
|
1705
emacs.d/elisp/git.el
Normal file
1705
emacs.d/elisp/git.el
Normal file
File diff suppressed because it is too large
Load diff
5
emacs.el
5
emacs.el
|
@ -3,7 +3,6 @@
|
||||||
;; LOAD-PATHS ;;
|
;; LOAD-PATHS ;;
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
(add-to-list 'load-path "~/.emacs.d/elisp")
|
(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/markdown-mode")
|
||||||
(add-to-list 'load-path "~/.emacs.d/elisp/git-commit-mode")
|
(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/lua-mode")
|
||||||
|
@ -14,13 +13,13 @@
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
(require 'autopair)
|
(require 'autopair)
|
||||||
(require 'column-marker)
|
(require 'column-marker)
|
||||||
(require 'git-commit)
|
|
||||||
(require 'org-crypt)
|
(require 'org-crypt)
|
||||||
(require 'rainbow-delimiters)
|
(require 'rainbow-delimiters)
|
||||||
(require 'uniquify)
|
(require 'uniquify)
|
||||||
(require 'server)
|
(require 'server)
|
||||||
(require 'org-publish)
|
(require 'org-publish)
|
||||||
(require 'htmlize)
|
(require 'htmlize)
|
||||||
|
(require 'git)
|
||||||
|
|
||||||
(load-file "~/.emacs.d/functions.el")
|
(load-file "~/.emacs.d/functions.el")
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
@ -42,6 +41,7 @@
|
||||||
(autoload 'go-mode "go-mode" "Major mode for google go" t)
|
(autoload 'go-mode "go-mode" "Major mode for google go" t)
|
||||||
(autoload 'gofmt "go-mode" "" t)
|
(autoload 'gofmt "go-mode" "" t)
|
||||||
(autoload 'go-fmt-before-save "go-mode" "" t)
|
(autoload 'go-fmt-before-save "go-mode" "" t)
|
||||||
|
(autoload 'git-commit-mode "git-commit" "" t)
|
||||||
|
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
;; VARIABLES ;;
|
;; VARIABLES ;;
|
||||||
|
@ -155,6 +155,7 @@
|
||||||
(add-to-list 'auto-mode-alist '("\\.go$" . go-mode))
|
(add-to-list 'auto-mode-alist '("\\.go$" . go-mode))
|
||||||
(add-to-list 'auto-mode-alist '("\\.commitmsg$" . org-mode))
|
(add-to-list 'auto-mode-alist '("\\.commitmsg$" . org-mode))
|
||||||
(add-to-list 'auto-mode-alist '(".*mutt.*" . message-mode))
|
(add-to-list 'auto-mode-alist '(".*mutt.*" . message-mode))
|
||||||
|
(add-to-list 'auto-mode-alist '("COMMIT_EDITMSG$" . git-commit-mode))
|
||||||
|
|
||||||
(add-to-list 'file-coding-system-alist '("\\.vala$" . utf-8))
|
(add-to-list 'file-coding-system-alist '("\\.vala$" . utf-8))
|
||||||
(add-to-list 'file-coding-system-alist '("\\.vapi$" . utf-8))
|
(add-to-list 'file-coding-system-alist '("\\.vapi$" . utf-8))
|
||||||
|
|
Loading…
Reference in a new issue