Function: org-remove-font-lock-display-properties

org-remove-font-lock-display-properties is a byte-compiled function defined in org.el.gz.

Signature

(org-remove-font-lock-display-properties BEG END)

Documentation

Remove specific display properties that have been added by font lock.

The will remove the raise properties that are used to show superscripts and subscripts.

Source Code

;; Defined in /usr/src/emacs/lisp/org/org.el.gz
(defun org-remove-font-lock-display-properties (beg end)
  "Remove specific display properties that have been added by font lock.
The will remove the raise properties that are used to show superscripts
and subscripts."
  (let (next prop)
    (while (< beg end)
      (setq next (next-single-property-change beg 'display nil end)
	    prop (get-text-property beg 'display))
      (when (member prop org-script-display)
	(put-text-property beg next 'display nil))
      (setq beg next))))