Function: erc--get-inserted-msg-bounds
erc--get-inserted-msg-bounds is a byte-compiled function defined in
erc.el.gz.
Signature
(erc--get-inserted-msg-bounds &optional POINT)
Documentation
Return bounds of message at POINT in an ERC buffer when found.
Search from POINT, when non-nil, instead of point. Return nil
if not found.
Source Code
;; Defined in /usr/src/emacs/lisp/erc/erc.el.gz
(defun erc--get-inserted-msg-bounds (&optional point)
"Return bounds of message at POINT in an ERC buffer when found.
Search from POINT, when non-nil, instead of `point'. Return nil
if not found."
(let ((at-start-p (get-text-property (or point (setq point (point)))
'erc--msg)))
(and-let* ((b (erc--get-inserted-msg-beg-at point at-start-p)))
(cons b (erc--get-inserted-msg-end-at point at-start-p)))))