Function: projectile--report-title

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

Signature

(projectile--report-title TITLE &optional CHAR)

Documentation

Insert TITLE underlined with CHAR (= by default).

The rule is kept as text rather than expressed with a face, so a yanked report reads the same as the rendered one - but it is dimmed, so the title carries the emphasis rather than competing with its own underline.

Source Code

;; Defined in ~/.emacs.d/elpa/projectile-20260820.1509/projectile.el
(defun projectile--report-title (title &optional char)
  "Insert TITLE underlined with CHAR (`=' by default).
The rule is kept as text rather than expressed with a face, so a yanked
report reads the same as the rendered one - but it is dimmed, so the
title carries the emphasis rather than competing with its own underline."
  (insert (projectile--report-face title 'projectile-report-section) "\n"
          (projectile--report-face (make-string (length title) (or char ?=))
                                   'projectile-report-label)
          "\n"))