[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/d-mode 203ef14 335/346: Don't call easy-menu-add on Emacs
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/d-mode 203ef14 335/346: Don't call easy-menu-add on Emacs 28+ |
Date: |
Sun, 29 Aug 2021 11:00:55 -0400 (EDT) |
branch: elpa/d-mode
commit 203ef144a4ba918450839a47b726ebea99e3bdff
Author: Vladimir Panteleev <git@thecybershadow.net>
Commit: Vladimir Panteleev <git@thecybershadow.net>
Don't call easy-menu-add on Emacs 28+
Fixes byte compilation warning.
---
d-mode.el | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/d-mode.el b/d-mode.el
index eea1dac..e97ff69 100644
--- a/d-mode.el
+++ b/d-mode.el
@@ -1845,7 +1845,9 @@ Key bindings:
#'d--syntax-propertize-function)
(c-common-init 'd-mode)
- (easy-menu-add d-menu)
+ (d--if-version>= "28"
+ nil
+ (easy-menu-add d-menu))
(c-run-mode-hooks 'c-mode-common-hook 'd-mode-hook)
(c-update-modeline)
(d--if-version>= "26.0"
- [nongnu] elpa/d-mode 5abe29d 276/346: Consolidate c-forward-decl-or-cast-1 c-forward-name patch, (continued)
- [nongnu] elpa/d-mode 5abe29d 276/346: Consolidate c-forward-decl-or-cast-1 c-forward-name patch, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 0cbb2ab 288/346: tests: New testcase, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode e2b70b7 289/346: tests: New testcase, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode c2f332e 291/346: tests: Add test for c-decl-start-kwds, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode c1f5d0d 298/346: Remove a redundant (or), ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode b4496fc 300/346: Conditionally compile out code for newer Emacs versions, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 4b3cf20 305/346: Be more restrictive when recognizing lambdas, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 6624fcb 326/346: Unbreak indentation of access labels, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 1931ec9 330/346: Merge pull request #103 from CyberShadow/pull-20201201-111620, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode daaa518 336/346: Migrate from Travis CI to GitHub Actions, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 203ef14 335/346: Don't call easy-menu-add on Emacs 28+,
ELPA Syncer <=
- [nongnu] elpa/d-mode 80fad30 345/346: Merge pull request #108 from CyberShadow/github-actions, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode e42c1c1 340/346: Implement r"..." string literal syntax, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode dee393b 228/346: Fix setting the mode menu, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode ac898c0 245/346: Fix parsing of scope-statements, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 459732e 243/346: Fix parsing associative arrays in function types, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 362be11 250/346: Fix imenu false positive with e.g. private{...}, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode ea32e73 264/346: Makefile: Test byte-compiled version, too, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 979c946 256/346: Fix testing multiple nested imenu entries, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 8ffe5ac 265/346: Remove doxygen-font-lock-*, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 80f2019 261/346: Don't nest imenu to arbitrary depths, ELPA Syncer, 2021/08/29