branch: elpa/yaml-mode commit 97d507fccd36940326dd9ced45df62f392a4ba65 Author: Vasilij Schneidermann <v.schneiderm...@gmail.com> Commit: Vasilij Schneidermann <v.schneiderm...@gmail.com>
Derive from text-mode Closes #17, #18, #27 --- README | 3 +++ yaml-mode.el | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/README b/README index 0223532..f2d6437 100644 --- a/README +++ b/README @@ -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 diff --git a/yaml-mode.el b/yaml-mode.el index 15f3872..805b2e0 100644 --- a/yaml-mode.el +++ b/yaml-mode.el @@ -4,6 +4,7 @@ ;; Author: Yoshiki Kurihara <clou...@gmail.com> ;; Marshall T. Vandegrift <llas...@gmail.com> +;; Package-Requires: ((emacs "24.1")) ;; Keywords: data yaml ;; Version: 0.0.12 @@ -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}"