ox.el (org-export-copy-to-kill-ring): Default back to 'if-interactive
commitce0473532d005b259489447ddaccea9b9c3abc57
authorBastien Guerry <bzg@altern.org>
Fri, 15 Mar 2013 12:39:45 +0000 (15 13:39 +0100)
committerBastien Guerry <bzg@altern.org>
Fri, 15 Mar 2013 12:39:45 +0000 (15 13:39 +0100)
tree4aa4e4ba4b7cf00b2425e0d472ac3b8c0ea9c073
parent791ebc6e7b6025d78332f64788081af7329e2f4f
ox.el (org-export-copy-to-kill-ring): Default back to 'if-interactive

* ox.el (org-export--copy-to-kill-ring-p): New function.
(org-export-copy-to-kill-ring): Use 'if-interactive as the
default.
(org-export-to-buffer, org-export-to-file): Use
`org-export--copy-to-kill-ring-p' and fix docstrings.

* ox-odt.el (org-odt-export-as-odf): Use
`org-export--copy-to-kill-ring-p'.
lisp/ox-odt.el
lisp/ox.el