Browse Source

emacs.el: Add configurations for asciidoc editing

pull/15/head
10sr 9 years ago
parent
commit
8718011440
1 changed files with 7 additions and 0 deletions
  1. +7
    -0
      emacs.el

+ 7
- 0
emacs.el View File

@@ -194,6 +194,7 @@ IF OK-IF-ALREADY-EXISTS is true force download."
js2-mode
git-commit
gitignore-mode
adoc-mode
;; ack
color-moccur
ggtags
@@ -957,6 +958,12 @@ IF OK-IF-ALREADY-EXISTS is true force download."

(set-variable 'sh-here-document-word "__EOC__")

(when (autoload-eval-lazily 'adoc-mode)
(setq auto-mode-alist
`(("\\.adoc\\'" . adoc-mode)
("\\.asciidoc\\'" . adoc-mode)
,@auto-mode-alist)))

(setq auto-mode-alist
`(("autostart\\'" . sh-mode)
("xinitrc\\'" . sh-mode)


Loading…
Cancel
Save