andrea Crotti wrote:

I would also like to check that the new org-file created is in a
subdirectory of the org-directories, how could that be easily done?

no warranty:

(string-match
 (concat "^" (regexp-quote (expand-file-name org-directory)))
 (expand-file-name default-directory))

Greetings,
        Stephan


_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to