Fix: tools/eshell: get rid of compile warnings in quit-or-delete-char
This commit is contained in:
parent
279cea5b08
commit
ce50ddd563
1 changed files with 2 additions and 2 deletions
|
@ -38,9 +38,9 @@ module to be loaded."
|
|||
;;;###autoload
|
||||
(defun +eshell/quit-or-delete-char (arg)
|
||||
(interactive "p")
|
||||
(if (and (eolp) (looking-back eshell-prompt-regexp))
|
||||
(if (and (eolp) (looking-back eshell-prompt-regexp nil))
|
||||
(eshell-life-is-too-much)
|
||||
(delete-forward-char arg)))
|
||||
(delete-char arg)))
|
||||
|
||||
(defun +eshell--outside-prompt-p ()
|
||||
(< (point) eshell-last-output-end))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue