Variable: eww-readable-urls

eww-readable-urls is a customizable variable defined in eww.el.gz.

Value

nil

Documentation

A list of regexps matching URLs to display in readable mode by default.

EWW will display matching URLs using eww-readable (which see).

Each element can be one of the following forms: a regular expression in string form or a cons cell of the form (REGEXP . READABILITY). If READABILITY is non-nil, this behaves the same as the string form; otherwise, URLs matching REGEXP will never be displayed in readable mode by default.

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

Probably introduced at or before Emacs version 30.1.

Source Code

;; Defined in /usr/src/emacs/lisp/net/eww.el.gz
(defcustom eww-readable-urls nil
  "A list of regexps matching URLs to display in readable mode by default.
EWW will display matching URLs using `eww-readable' (which see).

Each element can be one of the following forms: a regular expression in
string form or a cons cell of the form (REGEXP . READABILITY).  If
READABILITY is non-nil, this behaves the same as the string form;
otherwise, URLs matching REGEXP will never be displayed in readable mode
by default."
  :type '(repeat (choice (string :tag "Readable URL")
                         (cons :tag "URL and Readability"
                               (string :tag "URL")
                               (radio (const :tag "Readable" t)
                                      (const :tag "Non-readable" nil)))))
  :version "30.1")