Function: ghostel--line-mode-input-text
ghostel--line-mode-input-text is a natively compiled function defined
in ghostel-line-mode.el.
Signature
(ghostel--line-mode-input-text)
Documentation
Return the current in-progress input text, or an empty string.
Bounded by the start and end markers, not point-max, so content
past the input region (status bar, etc.) is never read.
Source Code
;; Defined in /nix/store/1252krff0gb2kisjcpp45m50cpdskfrl-emacs-packages-deps/share/emacs/site-lisp/ghostel-line-mode.el
(defun ghostel--line-mode-input-text ()
"Return the current in-progress input text, or an empty string.
Bounded by the start and end markers, not `point-max', so content
past the input region (status bar, etc.) is never read."
(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))))
(if (and start end (< start end))
(buffer-substring-no-properties start end)
"")))