Variable: minibuffer-allow-text-properties

minibuffer-allow-text-properties is a variable defined in minibuf.c.

Value

nil

Documentation

Non-nil means read-from-minibuffer should not discard text properties.

Lisp code can let-bind this, or make it buffer-local in the minibuffer. This also affects read-string, or any of the functions that do minibuffer input with completion, but it does not affect read-minibuffer that always discards text properties.

View in manual

Probably introduced at or before Emacs version 20.1.

Source Code

// Defined in /usr/src/emacs/src/minibuf.c
  DEFVAR_BOOL ("minibuffer-allow-text-properties",
	       minibuffer_allow_text_properties,
	       doc: /* Non-nil means `read-from-minibuffer' should not discard text properties.
Lisp code can let-bind this, or make it buffer-local in the minibuffer.
This also affects `read-string', or any of the functions that do
minibuffer input with completion, but it does not affect `read-minibuffer'
that always discards text properties.  */);