Function: sesman--format-context
sesman--format-context is a byte-compiled function defined in
sesman.el.
Signature
(sesman--format-context CXT-TYPE CXT-VAL EXTRA-FACE)
Source Code
;; Defined in ~/.emacs.d/elpa/sesman-20240417.1723/sesman.el
(defun sesman--format-context (cxt-type cxt-val extra-face)
(let* ((face (intern (format "sesman-%s-face" cxt-type)))
(short-type (propertize (or (plist-get sesman--cxt-abbrevs cxt-type)
(symbol-value cxt-type))
'face (list (if (facep face)
face
'font-lock-function-name-face)
extra-face))))
(concat short-type
(propertize (format "(%s)" cxt-val)
'face extra-face))))