Hi Gary,

Gary Oberbrunner <ga...@oberbrunner.com> writes:

> I've put all my org-mode export template stuff into a setup file in
> my home dir, and I make all my org-mode files use it by putting
>  #+SETUPFILE: ~/my-setup.org
>
> My question is can I make this totally automatic, so every .org file
> I load gets that setupfile automatically?

Maybe just define a function that you can hook to
`find-file-not-found-functions' ?

The function would recognize you're finding a new .org file, and 
then insert "#+SETUPFILE: ~/my-setup.org" on the top of it.

HTH,

-- 
 Bastien

_______________________________________________
Emacs-orgmode mailing list
Please 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