Function: smart-outline-char-invisible-p

smart-outline-char-invisible-p is a byte-compiled function defined in hui-mouse.el.

Signature

(smart-outline-char-invisible-p &optional POS)

Documentation

Return t if the character after point is invisible/hidden, else nil.

With optional POS, use that instead of point.

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hui-mouse.el
(defun smart-outline-char-invisible-p (&optional pos)
  "Return t if the character after point is invisible/hidden, else nil.
With optional POS, use that instead of point."
  (or pos (setq pos (point)))
  (when (or
	 ;; New-style Emacs outlines with invisible properties to hide lines
	 (outline-invisible-p pos)
	 (delq nil (mapcar (lambda (o) (overlay-get o 'invisible))
			   (overlays-at (or pos (point)))))
	 ;; Old-style Emacs outlines using \r (^M) characters to hide lines
	 (and selective-display (eq (following-char) ?\r)))
    t))