Variable: shr-width

shr-width is a customizable variable defined in shr.el.gz.

Value

nil

Documentation

Window width to use for HTML rendering.

May either be an integer specifying a fixed width in characters, or nil, meaning use the full width of the window. If shr-use-fonts is set, the value is interpreted as a multiple of the mean character width of the default face's font.

Also see shr-max-width.

This variable was added, or its default value changed, in Emacs 25.1.

Probably introduced at or before Emacs version 28.1.

Source Code

;; Defined in /usr/src/emacs/lisp/net/shr.el.gz
(defcustom shr-width nil
  "Window width to use for HTML rendering.
May either be an integer specifying a fixed width in characters,
or nil, meaning use the full width of the window.
If `shr-use-fonts' is set, the value is interpreted as a multiple
of the mean character width of the default face's font.

Also see `shr-max-width'."
  :version "25.1"
  :type '(choice (integer :tag "Fixed width in characters")
		 (const   :tag "Use the width of the window" nil)))