emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/yaml-mode 97d507f 048/124: Derive from text-mode


From: ELPA Syncer
Subject: [nongnu] elpa/yaml-mode 97d507f 048/124: Derive from text-mode
Date: Sun, 29 Aug 2021 11:36:10 -0400 (EDT)

branch: elpa/yaml-mode
commit 97d507fccd36940326dd9ced45df62f392a4ba65
Author: Vasilij Schneidermann <v.schneidermann@gmail.com>
Commit: Vasilij Schneidermann <v.schneidermann@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 <clouder@gmail.com>
 ;;         Marshall T. Vandegrift <llasram@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}"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]