ox: Ignore `org-mode-hook' and `kill-emacs-hook' in asynchronous export
commitce3e6555d3e24a6bf75d34fdf8a2bb67bfee3e4e
authorNicolas Goaziou <n.goaziou@gmail.com>
Fri, 1 Mar 2013 07:30:44 +0000 (1 08:30 +0100)
committerNicolas Goaziou <n.goaziou@gmail.com>
Fri, 1 Mar 2013 07:31:39 +0000 (1 08:31 +0100)
tree78a6f04a8cc8533930c63c7e0ad1be86b8239594
parent7d48126665fe00ccc6bae2e95dd4df29cdfb2fa1
ox: Ignore `org-mode-hook' and `kill-emacs-hook' in asynchronous export

* lisp/ox.el (org-export-async-start): Ignore `org-mode-hook' and
  `kill-emacs-hook'.  The first one has been run in the original
  buffer.  The second is not necessary and can pollute output to
  a temporary buffer (e.g. with `org-clock-persistence-insinuate').
lisp/ox.el