Skip to content

Commit ec9f61d

Browse files
committed
Remove unnecessary args to 'looking-back'
1 parent d14291d commit ec9f61d

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

elixir-smie.el

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
(statements (statement)
4343
(statement ";" statements))
4444
(statement ("def" non-block-expr "do" statements "end")
45-
(non-block-expr "fn" match-statement "end")
45+
(non-block-expr "fn" match-statements "end")
4646
(non-block-expr "do" statements "end")
4747
("if" non-block-expr "do" statements "else" statements "end")
4848
("if" non-block-expr "do" statements "end")
@@ -105,8 +105,7 @@
105105
(if (eolp)
106106
nil
107107
(progn (move-end-of-line 1)
108-
(looking-back elixir-smie--block-operator-regexp
109-
(- (point) 2) t)))))
108+
(looking-back elixir-smie--block-operator-regexp)))))
110109

111110
(defun elixir-smie-forward-token ()
112111
(cond

0 commit comments

Comments
 (0)