瀏覽代碼

emacs.el: Add configurations for asciidoc editing

pull/15/head
10sr 8 年之前
父節點
當前提交
8718011440
共有 1 個文件被更改,包括 7 次插入0 次删除
  1. +7
    -0
      emacs.el

+ 7
- 0
emacs.el 查看文件

@@ -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…
取消
儲存