I ran into a situation with a simple file where I wanted it to be exported to html every time I saved. After some troubleshooting and IRC help I was able to get a header/file local variable to work. Posting here for others to save time!
Place this at the top of your .org file: # -*- eval: (add-hook 'after-save-hook (lambda() (org-html-export-to-html)) nil 'localonly); -*- ------------------------------------------------------------------ Russell Adams rlad...@adamsinfoserv.com PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3