branch: elpa/d-mode
commit 951ca5c725628f958347c676ae95cdc6c03d83b4
Author: Vladimir Panteleev <[email protected]>
Commit: Vladimir Panteleev <[email protected]>
Remove code incompatible with older Emacs versions
Delete unused c-type-decl-suffix-ws-ids-key clause from
d-forward-type.
---
d-mode.el | 6 ------
1 file changed, 6 deletions(-)
diff --git a/d-mode.el b/d-mode.el
index 2b69603..c51cdc0 100644
--- a/d-mode.el
+++ b/d-mode.el
@@ -1306,12 +1306,6 @@ Key bindings:
(goto-char (match-end 1))
(c-forward-syntactic-ws)))
- ;; Skip any "WS" identifiers (e.g. "final" or "override" in C++)
- (while (looking-at c-type-decl-suffix-ws-ids-key)
- (goto-char (match-end 1))
- (c-forward-syntactic-ws)
- (setq res t))
-
(when c-opt-type-concat-key ; Only/mainly for pike.
;; Look for a trailing operator that concatenates the type
;; with a following one, and if so step past that one through