aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2018-08-16 20:30:44 -0400
committerKyle Meyer <kyle@kyleam.com>2018-08-16 20:30:44 -0400
commitca4d60dd0923d15b688e919c35a9df2e3e9ed380 (patch)
treed721a4a6d7c76db790b185f47a8ee2180fef8d14
parent16a1921bd79363135e1823a6cab4aa1f31d4ac9f (diff)
downloadsnakemake-mode-ca4d60dd0923d15b688e919c35a9df2e3e9ed380.tar.gz
Change Emacs requirement for Emacs 24 to Emacs 24.5
python.el changed its indentation engine in Emacs 24.5. We rely on a python-indent-calculate-indentation that is specific for the newer version. Re: #28
-rw-r--r--NEWS5
-rw-r--r--snakemake-mode.el2
2 files changed, 6 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 63c3999..908f8a2 100644
--- a/NEWS
+++ b/NEWS
@@ -7,6 +7,11 @@ NEWS -- history of user-visible changes -*- mode: org; -*-
- The 'cwl' keyword (new in Snakemake v4.8.0) and 'ancient' built-in
are now recognized.
+** Other changes
+
+- The minimum Emacs version is now specified as 24.5. Although the
+ previous specification was a looser "24", Snakemake's indentation
+ function is incompatible with Emacs 24.4 and below.
* v1.3.0
diff --git a/snakemake-mode.el b/snakemake-mode.el
index 4bef4f4..21b7b1f 100644
--- a/snakemake-mode.el
+++ b/snakemake-mode.el
@@ -6,7 +6,7 @@
;; URL: https://github.com/kyleam/snakemake-mode
;; Keywords: tools
;; Version: 1.3.0
-;; Package-Requires: ((emacs "24") (cl-lib "0.5") (magit-popup "2.4.0"))
+;; Package-Requires: ((emacs "24.5") (cl-lib "0.5") (magit-popup "2.4.0"))
;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by