Function: TeX-fold-remove-overlays

TeX-fold-remove-overlays is a byte-compiled function defined in tex-fold.el.

Signature

(TeX-fold-remove-overlays OVERLAYS)

Documentation

Remove all overlays set by TeX-fold in OVERLAYS.

Return non-nil if a removal happened, nil otherwise.

Source Code

;; Defined in ~/.emacs.d/elpa/auctex-14.1.2/tex-fold.el
(defun TeX-fold-remove-overlays (overlays)
  "Remove all overlays set by TeX-fold in OVERLAYS.
Return non-nil if a removal happened, nil otherwise."
  (let (found)
    (while overlays
      (when (eq (overlay-get (car overlays) 'category) 'TeX-fold)
        (delete-overlay (car overlays))
        (setq found t))
      (setq overlays (cdr overlays)))
    found))