tools/eshell: remove unused lexical var
This commit is contained in:
parent
8e7f97167a
commit
cc658beb9e
1 changed files with 1 additions and 5 deletions
|
@ -14,11 +14,7 @@
|
||||||
"Like `evil-change' but will not delete/copy the prompt."
|
"Like `evil-change' but will not delete/copy the prompt."
|
||||||
(interactive "<R><x><y>")
|
(interactive "<R><x><y>")
|
||||||
(let ((delete-func (or delete-func #'evil-delete))
|
(let ((delete-func (or delete-func #'evil-delete))
|
||||||
(nlines (1+ (evil-count-lines beg end)))
|
(nlines (1+ (evil-count-lines beg end))))
|
||||||
(opoint (save-excursion
|
|
||||||
(goto-char beg)
|
|
||||||
(evil-collection-eshell-next-prompt)
|
|
||||||
(point))))
|
|
||||||
(unless (eq evil-want-fine-undo t)
|
(unless (eq evil-want-fine-undo t)
|
||||||
(evil-start-undo-step))
|
(evil-start-undo-step))
|
||||||
(when (get-text-property beg 'read-only)
|
(when (get-text-property beg 'read-only)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue