Function: projectile--report-setup-outline

projectile--report-setup-outline is a byte-compiled function defined in projectile.el.

Signature

(projectile--report-setup-outline)

Documentation

Make the report's sections collapsible with outline-minor-mode(var)/outline-minor-mode(fun).

Section titles are capitalized and start in column zero, while every field label is lowercase, so that one distinction is the whole heading regexp - no dependency on magit-section(var)/magit-section(fun) needed to fold a long report.

Source Code

;; Defined in ~/.emacs.d/elpa/projectile-20260820.1509/projectile.el
(defun projectile--report-setup-outline ()
  "Make the report\\='s sections collapsible with `outline-minor-mode'.
Section titles are capitalized and start in column zero, while every
field label is lowercase, so that one distinction is the whole heading
regexp - no dependency on `magit-section' needed to fold a long report."
  (setq-local outline-regexp "[A-Z]")
  (setq-local outline-level (lambda () 1))
  (outline-minor-mode 1))