Function: embark--truncate-target
embark--truncate-target is a byte-compiled function defined in
embark.el.
Signature
(embark--truncate-target TARGET)
Documentation
Truncate TARGET string.
Source Code
;; Defined in ~/.emacs.d/elpa/embark-20260610.302/embark.el
(defun embark--truncate-target (target)
"Truncate TARGET string."
(unless (stringp target)
(setq target (format "%s" target)))
(if-let* ((pos (string-match-p "\n" target)))
(concat (car (split-string target "\n" 'omit-nulls "\\s-*")) "…")
target))