Function: enriched-decode-display-prop
enriched-decode-display-prop is a byte-compiled function defined in
enriched.el.gz.
Signature
(enriched-decode-display-prop START END &optional PARAM)
Documentation
Decode a display property for text between START and END.
PARAM is a <param> found for the property.
Value is a list (START END SYMBOL VALUE) with START and END denoting
the range of text to assign text property SYMBOL with value VALUE.
Source Code
;; Defined in /usr/src/emacs/lisp/textmodes/enriched.el.gz
(defun enriched-decode-display-prop (start end &optional param)
"Decode a `display' property for text between START and END.
PARAM is a `<param>' found for the property.
Value is a list `(START END SYMBOL VALUE)' with START and END denoting
the range of text to assign text property SYMBOL with value VALUE."
(let ((prop (when (stringp param)
(condition-case ()
(car (read-from-string param))
(error nil)))))
(unless prop
(message "Warning: invalid <x-display> parameter %s" param))
(if enriched-allow-eval-in-display-props
(list start end 'display prop)
(list start end 'display (list 'disable-eval prop)))))