Function: org-attach-file-list

org-attach-file-list is a byte-compiled function defined in org-attach.el.gz.

Signature

(org-attach-file-list DIRECTORY)

Documentation

Return a list of files in the attachment DIRECTORY.

This ignores files ending in "~".

Source Code

;; Defined in /usr/src/emacs/lisp/org/org-attach.el.gz
(defun org-attach-file-list (directory)
  "Return a list of files in the attachment DIRECTORY.
This ignores files ending in \"~\"."
  (delq nil
	(mapcar (lambda (x) (if (string-match "^\\.\\.?\\'" x) nil x))
		(directory-files directory nil "[^~]\\'"))))