Function: preview-clean-topdir

preview-clean-topdir is a byte-compiled function defined in preview.el.

Signature

(preview-clean-topdir TOPDIR)

Documentation

Cleans out TOPDIR from temporary directories.

This does not erase the directory itself since its permissions might be needed for colloborative work on common files.

Source Code

;; Defined in ~/.emacs.d/elpa/auctex-14.1.2/preview.el
(defun preview-clean-topdir (topdir)
  "Cleans out TOPDIR from temporary directories.
This does not erase the directory itself since its permissions
might be needed for colloborative work on common files."
  (mapc #'preview-clean-subdir
        (condition-case nil
            (directory-files topdir t "\\`tmp" t)
          (file-error nil))))