[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/d-mode 830a070 095/346: Merge pull request #51 from dmakar
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/d-mode 830a070 095/346: Merge pull request #51 from dmakarov/master |
Date: |
Sun, 29 Aug 2021 11:00:10 -0400 (EDT) |
branch: elpa/d-mode
commit 830a070fd56b0dbe9e22d7dd646fb3adff909d24
Merge: 11cda40 b4cbdfc
Author: Russel Winder <russel@winder.org.uk>
Commit: Russel Winder <russel@winder.org.uk>
Merge pull request #51 from dmakarov/master
Workaround issue #50.
---
d-mode.el | 12 ++----------
1 file changed, 2 insertions(+), 10 deletions(-)
diff --git a/d-mode.el b/d-mode.el
index 6b36223..798c6ec 100644
--- a/d-mode.el
+++ b/d-mode.el
@@ -488,16 +488,8 @@ operators."
(remove-function (symbol-function 'looking-at)
#'d-special-case-looking-at)))))
-(if (> emacs-major-version 24)
- (advice-add 'c-add-stmt-syntax :around #'d-around--c-add-stmt-syntax)
- (defadvice c-add-stmt-syntax (around d-around--c-add-stmt-syntax activate)
- (if (not (string= major-mode "d-mode"))
- ad-do-it
- (progn
- (add-function :around (symbol-function 'looking-at)
#'d-special-case-looking-at)
- (unwind-protect
- ad-do-it
- (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))
;;----------------------------------------------------------------------------
;;;###autoload (add-to-list 'auto-mode-alist '("\\.d[i]?\\'" . d-mode))
- [nongnu] elpa/d-mode a4f0b2d 161/346: Fix imenu for functions prefixed with a version/else, (continued)
- [nongnu] elpa/d-mode a4f0b2d 161/346: Fix imenu for functions prefixed with a version/else, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 8771a86 162/346: Convert d-imenu-generic-expression to rx, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 908d55b 170/346: fix #49 - Occasional incorrect fontification of string literals due, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode dea775a 066/346: Merge pull request #35 from wrzoski/master, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 01997e0 070/346: Add LDC compiler message pattern to be recognized in compilation mode., ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 38ddb5a 076/346: Merge pull request #41 from dmakarov/master, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 2b0b84f 073/346: Merge pull request #38 from TOGoS/master, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode c4d8ba8 099/346: Fix omission of final/abstract classes in imenu, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 9729d5f 103/346: Merge pull request #62 from CyberShadow/pull-20160328-152551, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 2d014ef 106/346: Add .cask to .gitignore., ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 830a070 095/346: Merge pull request #51 from dmakarov/master,
ELPA Syncer <=
- [nongnu] elpa/d-mode b682601 118/346: Document cl compilation warning, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode efc92aa 120/346: tests: Add test for GitHub pull request #72, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 7c3bcdc 124/346: tests: Split test for #72 to its own file, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode c881155 126/346: .travis.yml: Switch to a different PPA in order to test on Emacs 25, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode eb92e64 127/346: .travis.yml: Switch to emacs-travis.mk, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode fef0def 128/346: tests: Add basic imenu test, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode c6e2c9a 129/346: Convert d-imenu-method-name-pattern to rx expression, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 2fd4691 133/346: tests: Disable #35 indentation test on Emacs 24.3, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 671ee7c 135/346: tests: Tweak version condition for #35 test, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode d219e0e 139/346: README: Update Coveralls badge, ELPA Syncer, 2021/08/29