Variable: magit-ellipsis
magit-ellipsis is a customizable variable defined in magit-base.el.
Value
((margin (8230 . ">")) (t (8230 . "...")))
Documentation
Characters or strings used to abbreviate text in some buffers.
Each element has the form (WHERE (FANCY . UNIVERSAL)).
FANCY is a single character or nil whereas UNIVERSAL is a string
of any length. The ellipsis produced by magit--ellipsis will
be FANCY if it's a non-nil character that can be displayed with
the available fonts, otherwise UNIVERSAL will be used. FANCY is
meant to be a rich character like a horizontal ellipsis symbol or
an emoji whereas UNIVERSAL something simpler available in a less
rich environment like the CLI. WHERE determines the use-case for
the ellipsis definition. Currently the only acceptable values
for WHERE are margin or t (representing the default).
Whether collapsed sections are indicated using ellipsis is
controlled by option magit-section-visibility-indicators.
This variable was added, or its default value changed, in magit version 4.0.0.
Source Code
;; Defined in ~/.emacs.d/elpa/magit-20260411.1452/magit-base.el
(defcustom magit-ellipsis
'((margin (?… . ">"))
(t (?… . "...")))
"Characters or strings used to abbreviate text in some buffers.
Each element has the form (WHERE (FANCY . UNIVERSAL)).
FANCY is a single character or nil whereas UNIVERSAL is a string
of any length. The ellipsis produced by `magit--ellipsis' will
be FANCY if it's a non-nil character that can be displayed with
the available fonts, otherwise UNIVERSAL will be used. FANCY is
meant to be a rich character like a horizontal ellipsis symbol or
an emoji whereas UNIVERSAL something simpler available in a less
rich environment like the CLI. WHERE determines the use-case for
the ellipsis definition. Currently the only acceptable values
for WHERE are `margin' or t (representing the default).
Whether collapsed sections are indicated using ellipsis is
controlled by option `magit-section-visibility-indicators'."
:package-version '(magit . "4.0.0")
:group 'magit-miscellaneous
:type '(repeat (list (symbol :tag "Where")
(cons (choice :tag "Fancy" character (const nil))
(string :tag "Universal")))))