branch: elpa/d-mode
commit c1f5d0d166172129ffd60b69a5f4bba5b1faa803
Author: Vladimir Panteleev <[email protected]>
Commit: Vladimir Panteleev <[email protected]>
Remove a redundant (or)
---
d-mode.el | 15 +++++++--------
1 file changed, 7 insertions(+), 8 deletions(-)
diff --git a/d-mode.el b/d-mode.el
index c0abe38..d0cf1b7 100644
--- a/d-mode.el
+++ b/d-mode.el
@@ -7,7 +7,7 @@
;; Maintainer: Russel Winder <[email protected]>
;; Vladimir Panteleev <[email protected]>
;; Created: March 2007
-;; Version: 201911111723
+;; Version: 201911111730
;; Keywords: D programming language emacs cc-mode
;; Package-Requires: ((emacs "25.1"))
@@ -802,13 +802,12 @@ Currently handles `-delimited string literals."
(save-excursion
(skip-syntax-backward "w_")
- (or
- ;; Check for a normal (non-keyword) identifier.
- (and (looking-at c-symbol-start)
- (or
- (looking-at (d-make-keywords-re t '("this" "~this")))
- (not (looking-at c-keywords-regexp)))
- (point)))))
+ ;; Check for a normal (non-keyword) identifier.
+ (and (looking-at c-symbol-start)
+ (or
+ (looking-at (d-make-keywords-re t '("this" "~this")))
+ (not (looking-at c-keywords-regexp)))
+ (point))))
(defun d-in-knr-argdecl (&optional lim)
"Modified version of `c-in-knr-argdecl' for d-mode." ;; checkdoc-params: lim