Function: hargs:buffer-substring
hargs:buffer-substring is a byte-compiled function defined in
hargs.el.
Signature
(hargs:buffer-substring START END)
Documentation
Return the buffer substring sans any properties between START and END positions.
Convert NUL characters to colons for use with grep lines.
Source Code
;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hargs.el
(defun hargs:buffer-substring (start end)
"Return the buffer substring sans any properties between START and END positions.
Convert NUL characters to colons for use with grep lines."
(let ((string (buffer-substring-no-properties start end)))
;; This may trigger on a colored grep-like output line which has
;; an embedded null character with a display text property that
;; displays it as a colon. Since the display property is stripped
;; here, convert the null character to a colon.
(subst-char-in-string ?\^@ ?: string t)))