diff --git a/emacs.el b/emacs.el index 4ff2dc8..177ef83 100644 --- a/emacs.el +++ b/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