Skip to content

Commit

Permalink
Derive from text-mode
Browse files Browse the repository at this point in the history
Closes #17, #18, #27
  • Loading branch information
wasamasa committed Dec 15, 2015
1 parent a87ab36 commit 97d507f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions README
Expand Up @@ -7,6 +7,9 @@ RECRUITMENTS
NAME
yaml-mode - Simple major mode to edit YAML file for emacs

REQUIREMENTS
Emacs 24.1

SYNOPSIS
To install, just drop this file into a directory in your
`load-path' and (optionally) byte-compile it. To automatically
Expand Down
3 changes: 2 additions & 1 deletion yaml-mode.el
Expand Up @@ -4,6 +4,7 @@

;; Author: Yoshiki Kurihara <clouder@gmail.com>
;; Marshall T. Vandegrift <llasram@gmail.com>
;; Package-Requires: ((emacs "24.1"))
;; Keywords: data yaml
;; Version: 0.0.12

Expand Down Expand Up @@ -213,7 +214,7 @@ that key is pressed to begin a block literal."
(modify-syntax-entry ?\] ")[" yaml-mode-syntax-table))

;;;###autoload
(define-derived-mode yaml-mode fundamental-mode "YAML"
(define-derived-mode yaml-mode text-mode "YAML"
"Simple mode to edit YAML.
\\{yaml-mode-map}"
Expand Down

0 comments on commit 97d507f

Please sign in to comment.