Permalink
Browse files

Merge pull request #4 from petere/more-file-names

Add more file names to auto-mode-alist
  • Loading branch information...
rafl committed Mar 11, 2012
2 parents 421cd58 + 57088b1 commit 9bfd1cff99db3aed6784b3fdf6eeadc3932856df
Showing with 6 additions and 2 deletions.
  1. +6 −2 git-commit.el
View
@@ -574,8 +574,12 @@ Turning on git commit calls the hooks in `git-commit-mode-hook'."
(add-to-list 'session-mode-disable-list 'git-commit-mode))
;;;###autoload
-(add-to-list 'auto-mode-alist
- '("COMMIT_EDITMSG" . git-commit-mode))
+(setq auto-mode-alist
+ (append auto-mode-alist
+ '(("COMMIT_EDITMSG" . git-commit-mode)
+ ("NOTES_EDITMSG" . git-commit-mode)
+ ("MERGE_MSG" . git-commit-mode)
+ ("TAG_EDITMSG" . git-commit-mode))))
(provide 'git-commit)

0 comments on commit 9bfd1cf

Please sign in to comment.