Skip to content

Commit 73c35c0

Browse files
committed
Remove an unnecessary (progn) that I missed.
1 parent a316c3f commit 73c35c0

File tree

1 file changed

+17
-18
lines changed

1 file changed

+17
-18
lines changed

raku-indent.el

Lines changed: 17 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -82,29 +82,28 @@
8282
(t (smie-default-backward-token))))) ;; If none of the above matched, defer to SMIE default search
8383

8484
(defun raku-smie-rules (kind token)
85-
(progn
86-
(pcase (cons kind token)
87-
;; Basic indent offset
88-
(`(:elem . basic) raku-indent-offset)
85+
(pcase (cons kind token)
86+
;; Basic indent offset
87+
(`(:elem . basic) raku-indent-offset)
8988

90-
;; Indent offset for function args
91-
(`(:elem . arg) 0)
89+
;; Indent offset for function args
90+
(`(:elem . arg) 0)
9291

93-
(`(:list-intro . ,(or `";" `"")) t) ;"" stands for BOB (bug#15467).
92+
(`(:list-intro . ,(or `";" `"")) t) ;"" stands for BOB (bug#15467).
9493

95-
;; Make sure that hanging assignment gets indented
96-
(`(:before . "=")
97-
(if (smie-rule-hanging-p)
98-
(smie-rule-parent raku-indent-offset)))
94+
;; Make sure that hanging assignment gets indented
95+
(`(:before . "=")
96+
(if (smie-rule-hanging-p)
97+
(smie-rule-parent raku-indent-offset)))
9998

100-
(`(:before . "{")
101-
(when (smie-rule-hanging-p) ; is `{` the last thing on this line?
102-
(smie-backward-sexp ";") ; y tho
103-
(smie-indent-virtual)))
99+
(`(:before . "{")
100+
(when (smie-rule-hanging-p) ; is `{` the last thing on this line?
101+
(smie-backward-sexp ";") ; y tho
102+
(smie-indent-virtual)))
104103

105-
(`(:before . ,(or "{" "("))
106-
(if (smie-rule-hanging-p)
107-
(smie-rule-parent 0))))))
104+
(`(:before . ,(or "{" "("))
105+
(if (smie-rule-hanging-p)
106+
(smie-rule-parent 0)))))
108107

109108
(provide 'raku-indent)
110109

0 commit comments

Comments
 (0)