Variable: enriched-allow-eval-in-display-props
enriched-allow-eval-in-display-props is a customizable variable
defined in enriched.el.gz.
Value
nil
Documentation
If non-nil, allow evaluating arbitrary forms in display properties.
Enriched mode recognizes display properties of text stored using an extension command to the text/enriched format, "x-display". These properties must not, by default, include evaluation of Lisp forms, otherwise they are not applied. Customize this option to t to turn off this safety feature, and allow Enriched mode to apply display properties which evaluate arbitrary Lisp forms. Note, however, that applying unsafe display properties could execute malicious Lisp code, if that code came from an external source.
This variable was added, or its default value changed, in Emacs 26.1.
Probably introduced at or before Emacs version 26.1.
Source Code
;; Defined in /usr/src/emacs/lisp/textmodes/enriched.el.gz
(defcustom enriched-allow-eval-in-display-props nil
"If non-nil, allow evaluating arbitrary forms in display properties.
Enriched mode recognizes display properties of text stored using
an extension command to the text/enriched format, \"x-display\".
These properties must not, by default, include evaluation of
Lisp forms, otherwise they are not applied. Customize this option
to t to turn off this safety feature, and allow Enriched mode to
apply display properties which evaluate arbitrary Lisp forms.
Note, however, that applying unsafe display properties could
execute malicious Lisp code, if that code came from an external source."
:risky t
:type 'boolean
:version "26.1")