3ab0e979f8
Load markdown-mode for .mdwn files, don't remove whitespace when markdown-mode is active and enable whitespace-mode and auto-fill-mode for markdown-mode.
12 lines
665 B
EmacsLisp
12 lines
665 B
EmacsLisp
(add-to-list 'auto-mode-alist '("\\.vala$" . vala-mode))
|
|
(add-to-list 'auto-mode-alist '("\\.vapi$" . vala-mode))
|
|
(add-to-list 'auto-mode-alist '("\\.cs$" . csharp-mode))
|
|
(add-to-list 'auto-mode-alist '("\\.bat$" . batch-mode))
|
|
(add-to-list 'auto-mode-alist '("\\.lua$" . lua-mode))
|
|
(add-to-list 'auto-mode-alist '("\\.php[345]?$" . php-mode))
|
|
(add-to-list 'auto-mode-alist '("\\.js\\(on\\)?$" . javascript-mode))
|
|
(add-to-list 'auto-mode-alist '("\\.mdwn$" . markdown-mode))
|
|
(add-to-list 'auto-mode-alist '("\\.markdown$" . markdown-mode))
|
|
|
|
(add-to-list 'file-coding-system-alist '("\\.vala$" . utf-8))
|
|
(add-to-list 'file-coding-system-alist '("\\.vapi$" . utf-8))
|