Variable: which-key-max-description-length

which-key-max-description-length is a customizable variable defined in which-key.el.gz.

Value

27

Documentation

Truncate the description of keys to this length.

Either nil (no truncation), an integer (truncate after that many characters), a float (use that fraction of the available width), or a function, which takes one argument, the available width in characters, and whose return value has one of the types mentioned before. Truncation is done using which-key-ellipsis.

This variable was added, or its default value changed, in which-key version 1.0.

Source Code

;; Defined in /usr/src/emacs/lisp/which-key.el.gz
(defcustom which-key-max-description-length 27
  "Truncate the description of keys to this length.
Either nil (no truncation), an integer (truncate after that many
characters), a float (use that fraction of the available width),
or a function, which takes one argument, the available width in
characters, and whose return value has one of the types mentioned
before.  Truncation is done using `which-key-ellipsis'."
  :type '(choice (const :tag "Disable truncation" nil)
		 (integer :tag "Width in characters")
		 (float :tag "Use fraction of available width")
		 function)
  :package-version '(which-key . "1.0") :version "30.1")