Skip to content

Commit abf45f8

Browse files
authored
Merge pull request #403 from sergeyklay/patch-1
Removed unused lexical variable
2 parents 384d8da + 345518a commit abf45f8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

elixir-mode.el

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -469,8 +469,7 @@ just return nil."
469469

470470
(defun elixir-beginning-of-defun (&optional arg)
471471
(interactive "p")
472-
(let ((command last-command)
473-
(regexp (concat "^\\s-*" (elixir-rx builtin-declaration)))
472+
(let ((regexp (concat "^\\s-*" (elixir-rx builtin-declaration)))
474473
case-fold-search)
475474
(while (and (re-search-backward regexp nil t (or arg 1))
476475
(elixir-syntax-in-string-or-comment-p)))

0 commit comments

Comments
 (0)