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

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

[nongnu] elpa/go-mode 8bfc70a 484/495: Fix accidental old style backquot


From: ELPA Syncer
Subject: [nongnu] elpa/go-mode 8bfc70a 484/495: Fix accidental old style backquote comma use.
Date: Sat, 7 Aug 2021 09:06:14 -0400 (EDT)

branch: elpa/go-mode
commit 8bfc70afcf26736152e0882976dd3274cf7e430b
Author: Muir Manders <muir@mnd.rs>
Commit: Peter Sanford <psanford@sanford.io>

    Fix accidental old style backquote comma use.
    
    Remove unnecessary cl-case "," clause. Apparently this ends you up
    with something that looks like the old style backquote comma syntax,
    which Emacs 27 no longer supports.
    
    Fixes #349.
    
    Closes: #350 [via git-merge-pr]
---
 go-mode.el | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/go-mode.el b/go-mode.el
index b4d6d12..f6f895a 100644
--- a/go-mode.el
+++ b/go-mode.el
@@ -1000,11 +1000,7 @@ Comma and period are included because they can be 
dangling operators, so
 they need to be considered by `go--continuation-line-indents-p'")
 
 (defun go--operator-precedence (op)
-  "Go operator precedence (higher binds tighter).
-
-Comma and period are present because they can be dangling
-operators that affect indentation, although they aren't
-technically operators."
+  "Go operator precedence (higher binds tighter)."
   (cl-case (intern op)
     (\. 7) ; "." in "foo.bar", binds tightest
     (! 6)
@@ -1013,7 +1009,6 @@ technically operators."
     ((== != < <= > >=) 3)
     (&& 2)
     (|| 1)
-    (, 0) ; loose binding expression separator
     (t 0)))
 
 (defun go--flow-block-p ()



reply via email to

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