help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Limiting init loading when running --batch


From: Tory S. Anderson
Subject: Limiting init loading when running --batch
Date: Wed, 04 Mar 2015 22:33:55 -0500
User-agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux)

I use --batch as part of a shell script to export my orgmode agenda as an ICS 
file and upload it to a server where it is read by Google Calendar. But when I 
run batch, it loads my entire emacs (most of which is not necessary for this 
operation) and sometimes chokes on lines that are apparently incompatible. Is 
there a way to avoid loading the whole init file, or to prepend lines with 
something that would except them from batch runs? 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]