ox-publish: Fix too many opened buffer upon publishing
commitc6f9aeb06ea9a5ae4d19218a514e28b294d5cbf6
authorNicolas Goaziou <mail@nicolasgoaziou.fr>
Thu, 10 Nov 2016 23:45:21 +0000 (11 00:45 +0100)
committerNicolas Goaziou <mail@nicolasgoaziou.fr>
Thu, 10 Nov 2016 23:45:21 +0000 (11 00:45 +0100)
tree1a0c60c2dbb5edf15fcbcacef2c82a2048fcb3f8
parentdd2a0d33614a6a838b1473bf05202ee271127430
ox-publish: Fix too many opened buffer upon publishing

* lisp/ox-publish.el (org-publish-cache-file-needs-publishing): Create
  a new buffer for Org files only.

Reported-by: Éric Würbel <eric.wurbel@univ-amu.fr>
<http://permalink.gmane.org/gmane.emacs.orgmode/110190>
lisp/ox-publish.el