From 4f90f44af3573d7168535adde4625cac484df237 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Fri, 30 Jun 2017 13:50:39 +0200 Subject: [PATCH] org-capture: Fix blank lines in `item' target type * lisp/org-capture.el (org-capture-place-item): Fix blank lines in `item' target type. --- lisp/org-capture.el | 1 + 1 file changed, 1 insertion(+) diff --git a/lisp/org-capture.el b/lisp/org-capture.el index 03e94fb92..1752c6f47 100644 --- a/lisp/org-capture.el +++ b/lisp/org-capture.el @@ -1126,6 +1126,7 @@ may have been stored before." (mapconcat 'identity (split-string txt "\n") "\n ")))) ;; Prepare surrounding empty lines. + (unless (bolp) (insert "\n")) (org-capture-empty-lines-before) (setq beg (point)) (unless (eolp) (save-excursion (insert "\n"))) -- 2.11.4.GIT