On Wed, Aug 29, 2012 at 10:47 AM, Marcelo de Moraes Serpa <celose...@gmail.com> wrote: > Hey guys, > > Regarding this: http://orgmode.org/manual/Batch-execution.html > > I also had success using --script, as in: > > #!/Applications/Emacs.app/Contents/MacOS/Emacs --script > > In the top of a .el file. You can then chmod it to be executable and run it.
Would you mind sharing a simple .el file you'd use that way? The site's example is a bash script, and I wonder how much cleaner a .el file would be. Nick