Skip to content

fix bug matching every file ending in org

There appears to be a bug in the computation of org-refile-targets line

(directory-files org-default-projects-dir nil ".org$")

where the expression .org$ is matching files like blahblah_org, rather than only files like blahblah.org. I think the . in .org$ is matching any character, rather than only the actual period character. Changing ".org" to "\org" seems to fix this.

Merge request reports