org-capture.el: Fix wrong narrowing with :prepend set to `t'
commita6bac51c5bfb632d3e8a27ef1f4e00ed31a7c7dc
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:44:41 +0000 (13 10:44 +0100)
tree5bb825f3aa5ae10b3245793552b1e17c2873b25f
parenta6f8460487a559f77e49140ce1b1e1e17cbb8eff
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