Fix auto-mode-alist setup for adoc-mode
This commit is contained in:
parent
1793b8f270
commit
1674284345
1 changed files with 4 additions and 2 deletions
|
@ -201,10 +201,12 @@ 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 '("\\.md\\'" . gfm-mode)))
|
||||
|
||||
;; same with adoc-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)))
|
||||
(add-to-list 'auto-mode-alist '("\\.adoc\\'" . adoc-mode))
|
||||
(add-to-list 'auto-mode-alist '("\\.asciidoc\\'" . adoc-mode)))
|
||||
|
||||
;; and pkgbuild-mode
|
||||
(when (package-installed-p 'pkgbuild-mode)
|
||||
(add-to-list 'auto-mode-alist '("PKGBUILD\\'" . pkgbuild-mode)))
|
||||
|
||||
|
|
Loading…
Reference in a new issue