Просмотр исходного кода

Add experimental adoc-simple-mode

pull/15/head
10sr 8 лет назад
Родитель
Сommit
7036339d84
1 измененных файлов: 12 добавлений и 0 удалений
  1. +12
    -0
      emacs.el

+ 12
- 0
emacs.el Просмотреть файл

@@ -1846,4 +1846,16 @@ Commands are searched from ALIST."
(defalias 'make 'compile)
(define-key ctl-x-map "c" 'compile)


;;;;;;;;;;;;;;;;;;;;;;;
;; adoc-simple-mode

(when (safe-require-or-eval 'adoc-mode)
(define-derived-mode adoc-simple-mode adoc-mode
"Adoc-Simple"
"Major mode for editing AsciiDoc text files.
This mode is a simplified version of `adoc-mode'.")
(add-to-list 'auto-mode-alist
'("\\.adoc\\'" . adoc-simple-mode)))

;;; emacs.el ends here

Загрузка…
Отмена
Сохранить