Variable: cl-print-expand-ellipsis-function

cl-print-expand-ellipsis-function is a variable defined in cl-print.el.gz.

Value

cl-print--default-expand-ellipsis

Documentation

Function to tweak the way ellipses are expanded.

The function is called with 3 arguments, BEG, END, and FUNC. BEG and END delimit the ellipsis that will be replaced. FUNC is the function that will do the expansion. It should be called with a single argument specifying the desired limit of the expansion's length, as used in cl-print-to-string-with-limit. FUNC will return the position of the end of the newly printed text.

View in manual

Probably introduced at or before Emacs version 30.1.

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/cl-print.el.gz
(defvar cl-print-expand-ellipsis-function
  #'cl-print--default-expand-ellipsis
  "Function to tweak the way ellipses are expanded.
The function is called with 3 arguments, BEG, END, and FUNC.
BEG and END delimit the ellipsis that will be replaced.
FUNC is the function that will do the expansion.
It should be called with a single argument specifying the desired
limit of the expansion's length, as used in `cl-print-to-string-with-limit'.
FUNC will return the position of the end of the newly printed text.")