Adding default command line options when opening a particular filetype
- by dbdkmezz
I'd like to make it so that whenever I open a particular file type (by double clicking it in explorer) it always opens the associated program with particular command line options.
So, for example, when double clicking a .tex file I want it to not only open it with emacs (which is easy to set up just by going into "Open With"), but run emacs with the command line option "-fs".
What's the easiest way to do this?
Thanks