[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/d-mode 4d9f9ce 211/346: Drop support for Emacs 24
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/d-mode 4d9f9ce 211/346: Drop support for Emacs 24 |
Date: |
Sun, 29 Aug 2021 11:00:33 -0400 (EDT) |
branch: elpa/d-mode
commit 4d9f9ce91cdc45ff78c8c0a8c123ff8804f9555c
Author: Vladimir Panteleev <git@thecybershadow.net>
Commit: Vladimir Panteleev <git@thecybershadow.net>
Drop support for Emacs 24
No c--set-difference in Emacs 24.x.
Event current Debian oldstable (stretch) ships Emacs 25.
---
.travis.yml | 2 --
README.md | 4 ++--
d-mode.el | 29 +++++++++++------------------
tests/I0035.d | 1 -
tests/I0039.d | 1 -
tests/I0058.d | 1 -
tests/I0067.d | 1 -
tests/I0070.d | 1 -
tests/I0082.d | 1 -
tests/I0082.d.html | 3 +--
tests/I0095.d | 1 -
tests/I0095.d.html | 1 -
12 files changed, 14 insertions(+), 32 deletions(-)
diff --git a/.travis.yml b/.travis.yml
index 5471d21..26753b5 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -10,8 +10,6 @@ matrix:
allow_failures:
- env: EMACS_VERSION=snapshot
env:
- - EMACS_VERSION=24.3
- - EMACS_VERSION=24.5
- EMACS_VERSION=25.1
- EMACS_VERSION=25.2
- EMACS_VERSION=25.3
diff --git a/README.md b/README.md
index d5fe2bd..94fcacf 100644
--- a/README.md
+++ b/README.md
@@ -8,9 +8,9 @@
An Emacs major mode for editing D code.
-This mode is currently known to work with Emacs 24 and 25.
+This mode is currently known to work with Emacs 25 and 26.
-The best way of installing this major mode, at least for Emacs 24, is to use
the packaging system. Add MELPA
+The best way of installing this major mode, at least for Emacs 26, is to use
the packaging system. Add MELPA
or MELPA Stable to the list of repositories to access this mode. For those who
want only formal, tagged
releases use MELPA Stable:
diff --git a/d-mode.el b/d-mode.el
index 17cbd58..2b69603 100644
--- a/d-mode.el
+++ b/d-mode.el
@@ -7,9 +7,9 @@
;; Maintainer: Russel Winder <russel@winder.org.uk>
;; Vladimir Panteleev <vladimir@thecybershadow.net>
;; Created: March 2007
-;; Version: 201909081759
+;; Version: 201909081807
;; Keywords: D programming language emacs cc-mode
-;; Package-Requires: ((emacs "24.3"))
+;; Package-Requires: ((emacs "25.1"))
;;;; NB Version number is date and time yyyymmddhhMM UTC.
;;;; A hook to update it automatically on save is available here:
@@ -814,8 +814,7 @@ Each list item should be a regexp matching a single
identifier."
(remove-function (symbol-function 'looking-at)
#'d-special-case-looking-at)))))
-(when (version<= "24.4" emacs-version)
- (advice-add 'c-add-stmt-syntax :around #'d-around--c-add-stmt-syntax))
+(advice-add 'c-add-stmt-syntax :around #'d-around--c-add-stmt-syntax)
;;----------------------------------------------------------------------------
;;; Implements handling of D constructors
@@ -857,8 +856,7 @@ Each list item should be a regexp matching a single
identifier."
#'d-special-case-c-forward-type)
))))
-(when (version<= "24.4" emacs-version)
- (advice-add 'c-forward-decl-or-cast-1 :around
#'d-around--c-forward-decl-or-cast-1))
+(advice-add 'c-forward-decl-or-cast-1 :around
#'d-around--c-forward-decl-or-cast-1)
;;----------------------------------------------------------------------------
;;; Fixes fontification of constructor parameter lists in D code.
@@ -886,8 +884,7 @@ Each list item should be a regexp matching a single
identifier."
#'d-special-case-looking-at-2)
))))
-(when (version<= "24.4" emacs-version)
- (advice-add 'c-font-lock-declarations :around
#'d-around--c-font-lock-declarations))
+(advice-add 'c-font-lock-declarations :around
#'d-around--c-font-lock-declarations)
;;----------------------------------------------------------------------------
;; Borrowed from
https://github.com/josteink/csharp-mode/blob/master/csharp-mode.el
@@ -948,10 +945,9 @@ Key bindings:
;; Concretely, inside back-quoted string literals the backslash
;; character '\' is treated as a punctuation symbol. See help for
;; syntax-propertize-rules function for more information.
- (when (version<= "24.3" emacs-version)
- (setq-local
- syntax-propertize-function
- #'d--syntax-propertize-function))
+ (setq-local
+ syntax-propertize-function
+ #'d--syntax-propertize-function)
(c-common-init 'd-mode)
(easy-menu-add d-menu)
@@ -1117,8 +1113,7 @@ Key bindings:
orig-fun)
args))
-(when (version<= "24.4" emacs-version)
- (advice-add 'c-in-knr-argdecl :around #'d-around--c-in-knr-argdecl))
+(advice-add 'c-in-knr-argdecl :around #'d-around--c-in-knr-argdecl)
;;----------------------------------------------------------------------------
;; We can't include "enum" in `c-typedef-decl-kwds', as that will not
@@ -1159,8 +1154,7 @@ Key bindings:
orig-fun)
args))
-(when (version<= "24.4" emacs-version)
- (advice-add 'c-font-lock-enum-body :around
#'d-around--c-font-lock-enum-body))
+(advice-add 'c-font-lock-enum-body :around #'d-around--c-font-lock-enum-body)
;;----------------------------------------------------------------------------
@@ -1389,8 +1383,7 @@ Key bindings:
orig-fun)
args))
-(when (version<= "24.4" emacs-version)
- (advice-add 'c-forward-type :around #'d-around--c-forward-type))
+(advice-add 'c-forward-type :around #'d-around--c-forward-type)
;;----------------------------------------------------------------------------
;;
diff --git a/tests/I0035.d b/tests/I0035.d
index 8a3dbc0..1bf1aab 100644
--- a/tests/I0035.d
+++ b/tests/I0035.d
@@ -1,4 +1,3 @@
-// #min-version: 24.5
// #run: (d-test-indent)
static if (true)
diff --git a/tests/I0039.d b/tests/I0039.d
index a424f7d..42c8949 100644
--- a/tests/I0039.d
+++ b/tests/I0039.d
@@ -1,4 +1,3 @@
-// #min-version: 24.5
// #run: (d-test-indent)
void foo()
diff --git a/tests/I0058.d b/tests/I0058.d
index 40cdf4e..8ad6833 100644
--- a/tests/I0058.d
+++ b/tests/I0058.d
@@ -1,4 +1,3 @@
-// #min-version: 24.5
// #run: (d-test-indent)
double foo(double b)
diff --git a/tests/I0067.d b/tests/I0067.d
index dc6ee06..ad12f15 100644
--- a/tests/I0067.d
+++ b/tests/I0067.d
@@ -1,4 +1,3 @@
-// #min-version: 24.5
// #run: (d-test-indent)
void foo(T)(T stuff)
diff --git a/tests/I0070.d b/tests/I0070.d
index 2f6e3af..e9bb6df 100644
--- a/tests/I0070.d
+++ b/tests/I0070.d
@@ -1,4 +1,3 @@
-// #min-version: 24.5
// #run: (progn (c-set-offset 'func-decl-cont #'d-lineup-arglists)
(d-test-indent))
auto foo(A, B, C)
diff --git a/tests/I0082.d b/tests/I0082.d
index 185d245..820a1d6 100644
--- a/tests/I0082.d
+++ b/tests/I0082.d
@@ -1,4 +1,3 @@
-// #min-version: 24.5
// #run: (d-test-fontification)
struct S
diff --git a/tests/I0082.d.html b/tests/I0082.d.html
index 01fa9bd..eb75859 100644
--- a/tests/I0082.d.html
+++ b/tests/I0082.d.html
@@ -1,5 +1,4 @@
-<span class="comment-delimiter">// </span><span class="comment">#min-version:
24.5
-</span><span class="comment-delimiter">// </span><span class="comment">#run:
(d-test-fontification)
+<span class="comment-delimiter">// </span><span class="comment">#run:
(d-test-fontification)
</span>
<span class="keyword">struct</span> <span class="type">S</span>
{
diff --git a/tests/I0095.d b/tests/I0095.d
index d1702c0..c51a2c3 100644
--- a/tests/I0095.d
+++ b/tests/I0095.d
@@ -1,5 +1,4 @@
// #run: (d-test-fontification)
-// #min-version: 24.5
alias Type = int;
diff --git a/tests/I0095.d.html b/tests/I0095.d.html
index 1bf02da..055ba0e 100644
--- a/tests/I0095.d.html
+++ b/tests/I0095.d.html
@@ -1,5 +1,4 @@
<span class="comment-delimiter">// </span><span class="comment">#run:
(d-test-fontification)
-</span><span class="comment-delimiter">// </span><span
class="comment">#min-version: 24.5
</span>
<span class="keyword">alias</span> <span class="type">Type</span> = <span
class="type">int</span>;
- [nongnu] elpa/d-mode 06fb0ff 189/346: Fix indentation of enums with a base type, (continued)
- [nongnu] elpa/d-mode 06fb0ff 189/346: Fix indentation of enums with a base type, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 1afddc7 190/346: Fix a typo in a regex, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 382a677 195/346: Use c-major-mode-is, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 9edcfbd 197/346: Remove unused bits from d-in-knr-argdecl, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 175c6e5 193/346: Fix indentation of function constraints/contracts?, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 5fdba4e 202/346: Add pragma keyword, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 51b1af1 203/346: Fix K&R region detection and body-less function declarations, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode b5fb492 204/346: Fix fontification of manifest (enum) constants, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode e52434e 218/346: d-mode-test.el: Save actual result to file in case of mismatch, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 609816b 219/346: tests: Move d-forward-type tests to new test file, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 4d9f9ce 211/346: Drop support for Emacs 24,
ELPA Syncer <=
- [nongnu] elpa/d-mode f2b4aec 205/346: Fix fontification of "a in b" expressions, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode f69e94e 207/346: Change test suite enumeration and activation, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode b0a59de 214/346: Fix mis-parsing of concatenating two variables, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 445c696 210/346: Implement a more complete description for D type syntax, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode ed0de34 222/346: Refactor "this" (constructor) handling, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode aaa704a 216/346: Fix coverage issues in d-forward-type, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 572d707 221/346: Improve comprehension of constness and storage classes, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 64afe5f 206/346: .travis.yml: Test against more Emacs versions, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 02733b0 223/346: Remove some redundant progns, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode c9febb3 299/346: d-mode-test: Always ignore .res files, ELPA Syncer, 2021/08/29