Variable: org-agenda-file-regexp
org-agenda-file-regexp is a customizable variable defined in
org.el.gz.
Value
"\\`[^.].*\\.org\\'"
Documentation
Regular expression to match files for org-agenda-files(var)/org-agenda-files(fun).
If any element in the list in that variable contains a directory instead of a normal file, all files in that directory that are matched by this regular expression will be included.
Source Code
;; Defined in /usr/src/emacs/lisp/org/org.el.gz
(defcustom org-agenda-file-regexp "\\`[^.].*\\.org\\'"
"Regular expression to match files for `org-agenda-files'.
If any element in the list in that variable contains a directory instead
of a normal file, all files in that directory that are matched by this
regular expression will be included."
:group 'org-agenda
:type 'regexp)