[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/arduino-mode cf0eb26 099/107: Emacs 28.1 deprecated easy-m
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/arduino-mode cf0eb26 099/107: Emacs 28.1 deprecated easy-menu-add function |
Date: |
Sun, 29 Aug 2021 10:58:24 -0400 (EDT) |
branch: elpa/arduino-mode
commit cf0eb267430c07ae3b97f27ef23726d799278657
Author: stardiviner <numbchild@gmail.com>
Commit: stardiviner <numbchild@gmail.com>
Emacs 28.1 deprecated easy-menu-add function
---
arduino-mode.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/arduino-mode.el b/arduino-mode.el
index f8df18c..4e9fb4c 100644
--- a/arduino-mode.el
+++ b/arduino-mode.el
@@ -342,7 +342,8 @@ Value is a symbol. The possible values are the symbols in
the
;; initialization to get the syntactic analysis and similar things working.
(c-common-init 'arduino-mode)
- (easy-menu-add arduino-menu)
+ (when (version<= emacs-version "28.1")
+ (easy-menu-add arduino-menu))
(set (make-local-variable 'c-basic-offset) 2)
(set (make-local-variable 'tab-width) 2))
- [nongnu] elpa/arduino-mode e39cb1c 079/107: Merge branch 'hotfix/spinner-dependency', (continued)
- [nongnu] elpa/arduino-mode e39cb1c 079/107: Merge branch 'hotfix/spinner-dependency', ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode 23ae47c 082/107: update README, ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode 4367333 092/107: autoload classes to fix unknown slot warnings when compilation, ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode 07c3421 103/107: Mention flycheck-arduino usage in README, ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode 969b49e 104/107: Add flycheck-arduino metadata, ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode 74e7e56 093/107: auto enable flycheck in project, ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode b1e2645 101/107: bump version to v1.3.0, ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode d7c8781 107/107: Mention ob-arduino.el usage in README, ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode fbfa013 091/107: format code, ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode a2997e2 094/107: fix Arduino default sketchbook directory, ELPA Syncer, 2021/08/29
- [nongnu] elpa/arduino-mode cf0eb26 099/107: Emacs 28.1 deprecated easy-menu-add function,
ELPA Syncer <=