Function: smart-outline-level

smart-outline-level is a byte-compiled function defined in hui-mouse.el.

Signature

(smart-outline-level)

Documentation

Return outline level if point is on a line that begins with outline-regexp.

If on other line return 0.

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hui-mouse.el
(defun smart-outline-level ()
  "Return outline level if point is on a line that begins with `outline-regexp'.
If on other line return 0."
  (save-excursion
    (beginning-of-line)
    (if (looking-at outline-regexp)
	(funcall outline-level)
      0)))