emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/d-mode c1f5d0d 298/346: Remove a redundant (or)


From: ELPA Syncer
Subject: [nongnu] elpa/d-mode c1f5d0d 298/346: Remove a redundant (or)
Date: Sun, 29 Aug 2021 11:00:49 -0400 (EDT)

branch: elpa/d-mode
commit c1f5d0d166172129ffd60b69a5f4bba5b1faa803
Author: Vladimir Panteleev <git@thecybershadow.net>
Commit: Vladimir Panteleev <git@thecybershadow.net>

    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 <russel@winder.org.uk>
 ;;              Vladimir Panteleev <vladimir@thecybershadow.net>
 ;; 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]