Skip to content

Commit 345518a

Browse files
authored
Removed unused lexical variable
Removed unused lexical variable `command` from `elixir-beginning-of-defun`
1 parent 384d8da commit 345518a

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)