org-capture.el: Fix wrong narrowing with :prepend set to `t'
commit94f104ad5c9f25e13e9f21b24eb497513646821b
authorBastien Guerry <bzg@altern.org>
Thu, 13 Mar 2014 09:44:41 +0000 (13 10:44 +0100)
committerBastien Guerry <bzg@altern.org>
Thu, 13 Mar 2014 09:45:08 +0000 (13 10:45 +0100)
tree63e503f86167f6352e7fa791d27510847386d1d3
parentf94ed64ffd8941cb919295e6de63ec67b9c00564
org-capture.el: Fix wrong narrowing with :prepend set to `t'

* org-capture.el (org-capture-finalize): Ensure to widen the
buffer when the target buffer is not initially narrowed.

Thanks to Adam Spiers and Thomas Proschinger for reporting this bug.
lisp/org-capture.el