Function: preview-clean-subdir

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

Signature

(preview-clean-subdir DIR)

Documentation

Cleans out a temporary DIR with preview image files.

Source Code

;; Defined in ~/.emacs.d/elpa/auctex-14.1.2/preview.el
(defun preview-clean-subdir (dir)
  "Cleans out a temporary DIR with preview image files."
  (condition-case err
      (progn
        (mapc #'delete-file
              (directory-files dir t "\\`pr" t))
        (delete-directory dir))
    (error (message "Deletion of `%s' failed: %s" dir
                    (error-message-string err)))))