Browse Source

Add experimental adoc-simple-mode

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

+ 12
- 0
emacs.el View File

@@ -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

Loading…
Cancel
Save