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

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

[nongnu] elpa/scala-mode b67029a 184/217: fix #120, align according to f


From: ELPA Syncer
Subject: [nongnu] elpa/scala-mode b67029a 184/217: fix #120, align according to forms
Date: Sun, 29 Aug 2021 11:31:09 -0400 (EDT)

branch: elpa/scala-mode
commit b67029a210805a8de66facd6a3d4e6aac18945a8
Author: Heikki Vesalainen <heikki.vesalainen@trademarknow.com>
Commit: Heikki Vesalainen <heikki.vesalainen@trademarknow.com>

    fix #120, align according to forms
---
 scala-mode-indent.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/scala-mode-indent.el b/scala-mode-indent.el
index b7eab82..12cac70 100644
--- a/scala-mode-indent.el
+++ b/scala-mode-indent.el
@@ -528,8 +528,8 @@ condition (or generators in the case of 'for') in 
parentheses.")
   "Other flow control keywords (not followed by parentheses)")
 
 (defconst scala-indent:control-keywords-re
-  (concat scala-indent:control-keywords-cond-re
-          scala-indent:control-keywords-other-re))
+  (concat "\\(" scala-indent:control-keywords-cond-re
+          "\\|" scala-indent:control-keywords-other-re "\\)"))
 
 (defun scala-indent:body-p (&optional point)
   "Returns the position of '=' symbol, or one of the



reply via email to

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