Add mappings AsciiDoc file extensions
This commit is contained in:
parent
97343ad46c
commit
2db3c6c2c4
1 changed files with 4 additions and 0 deletions
|
@ -200,6 +200,10 @@ PACKAGE is installed only if not already present. The file is opened in MODE."
|
||||||
(add-to-list 'auto-mode-alist '("\\.markdown\\'" . gfm-mode))
|
(add-to-list 'auto-mode-alist '("\\.markdown\\'" . gfm-mode))
|
||||||
(add-to-list 'auto-mode-alist '("\\.md\\'" . gfm-mode)))
|
(add-to-list 'auto-mode-alist '("\\.md\\'" . gfm-mode)))
|
||||||
|
|
||||||
|
(when (package-installed-p 'adoc-mode)
|
||||||
|
(add-to-list 'auto-mode-alist '("\\.adoc\\'" 'adoc-mode))
|
||||||
|
(add-to-list 'auto-mode-alist '("\\.asciidoc\\'" 'adoc-mode)))
|
||||||
|
|
||||||
(when (package-installed-p 'pkgbuild-mode)
|
(when (package-installed-p 'pkgbuild-mode)
|
||||||
(add-to-list 'auto-mode-alist '("PKGBUILD\\'" . pkgbuild-mode)))
|
(add-to-list 'auto-mode-alist '("PKGBUILD\\'" . pkgbuild-mode)))
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue