Skip to content

Commit 8bfc70a

Browse files
muirdmpsanford
authored andcommitted
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]
1 parent c9f5e92 commit 8bfc70a

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

go-mode.el

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1000,11 +1000,7 @@ Comma and period are included because they can be dangling operators, so
10001000
they need to be considered by `go--continuation-line-indents-p'")
10011001

10021002
(defun go--operator-precedence (op)
1003-
"Go operator precedence (higher binds tighter).
1004-
1005-
Comma and period are present because they can be dangling
1006-
operators that affect indentation, although they aren't
1007-
technically operators."
1003+
"Go operator precedence (higher binds tighter)."
10081004
(cl-case (intern op)
10091005
(\. 7) ; "." in "foo.bar", binds tightest
10101006
(! 6)
@@ -1013,7 +1009,6 @@ technically operators."
10131009
((== != < <= > >=) 3)
10141010
(&& 2)
10151011
(|| 1)
1016-
(, 0) ; loose binding expression separator
10171012
(t 0)))
10181013

10191014
(defun go--flow-block-p ()

0 commit comments

Comments
 (0)