Function: consult--buffer-substring
consult--buffer-substring is a byte-compiled function defined in
consult.el.
Signature
(consult--buffer-substring BEG END &optional FONTIFY)
Documentation
Return buffer substring between BEG and END.
If FONTIFY and consult-fontify-preserve are non-nil, first ensure that
the region has been fontified.
Source Code
;; Defined in /nix/store/6higv2v1wk916v4ynnybyrdkfy2gq44d-emacs-packages-deps/share/emacs/site-lisp/elpa/consult-20261004.957/consult.el
(defsubst consult--buffer-substring (beg end &optional fontify)
"Return buffer substring between BEG and END.
If FONTIFY and `consult-fontify-preserve' are non-nil, first ensure that
the region has been fontified."
(if consult-fontify-preserve
(let ((str (buffer-substring-no-properties beg end)))
(when fontify (consult--fontify-region beg end))
(consult--copy-faces beg end str)
str)
(buffer-substring-no-properties beg end)))