Function: ghostel--line-mode-delete-input
ghostel--line-mode-delete-input is a natively compiled function
defined in ghostel-line-mode.el.
Signature
(ghostel--line-mode-delete-input)
Documentation
Delete the current in-progress input from the buffer.
Removes only the region between the start and end markers; content past the end marker (status bar, etc.) stays put.
Source Code
;; Defined in /nix/store/1252krff0gb2kisjcpp45m50cpdskfrl-emacs-packages-deps/share/emacs/site-lisp/ghostel-line-mode.el
(defun ghostel--line-mode-delete-input ()
"Delete the current in-progress input from the buffer.
Removes only the region between the start and end markers; content
past the end marker (status bar, etc.) stays put."
(let ((start (and (markerp ghostel--line-input-start)
(marker-position ghostel--line-input-start)))
(end (and (markerp ghostel--line-input-end)
(marker-position ghostel--line-input-end))))
(when (and start end (< start end))
(let ((inhibit-read-only t))
(delete-region start end)))))