branch: externals/org
commit b2be3dd0e0386814362d64609c1f423fb6a41bc0
Merge: e4943d0 a9af1fa
Author: Bastien <b...@gnu.org>
Commit: Bastien <b...@gnu.org>

    Merge branch 'maint'
---
 lisp/org-src.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lisp/org-src.el b/lisp/org-src.el
index df3c76e..5604e65 100644
--- a/lisp/org-src.el
+++ b/lisp/org-src.el
@@ -1255,8 +1255,8 @@ Throw an error if there is no such buffer."
               (narrow-to-region beg end)
               (replace-buffer-contents write-back-buf)
               (goto-char (point-max))))
-        (when (and expecting-bol (not (bolp))) (insert "\n")))
-       (when write-back-buf (kill-buffer write-back-buf))))
+        (when (and expecting-bol (not (bolp))) (insert "\n")))))
+    (when write-back-buf (kill-buffer write-back-buf))
     ;; If we are to return to source buffer, put point at an
     ;; appropriate location.  In particular, if block is hidden, move
     ;; to the beginning of the block opening line.

Reply via email to