Function: hmail:hbdata-start

hmail:hbdata-start is a byte-compiled function defined in hmail.el.

Signature

(hmail:hbdata-start &optional MSG-START MSG-END)

Documentation

Return point immediately before any Hyperbole button data in current msg.

Return message end point when no button data is found. Has side-effect of widening buffer. Message's displayable part begins at optional MSG-START and ends at or before MSG-END.

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hmail.el
;;; ************************************************************************
;;; Public functions
;;; ************************************************************************

;;; ========================================================================
;;; hmail class - abstract
;;; ========================================================================

(defun hmail:hbdata-start (&optional msg-start msg-end)
  "Return point immediately before any Hyperbole button data in current msg.
Return message end point when no button data is found.
Has side-effect of widening buffer.
Message's displayable part begins at optional MSG-START and ends at or before
MSG-END."
  (widen)
  (unless msg-end
    (setq msg-end (point-max)))
  (save-excursion
    (goto-char msg-end)
    (if (search-backward hmail:hbdata-sep msg-start t) (1- (point)) msg-end)))