diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2017-06-30 13:50:39 +0200 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2017-06-30 13:50:39 +0200 |
commit | 4f90f44af3573d7168535adde4625cac484df237 (patch) | |
tree | 74b1a49699b69595f5234c55c766db156b2d94cf | |
parent | 04403b446a1dcb3b783a38fb5109b4acdb9ff672 (diff) | |
download | org-mode-4f90f44af3573d7168535adde4625cac484df237.tar.gz |
org-capture: Fix blank lines in `item' target type
* lisp/org-capture.el (org-capture-place-item): Fix blank lines in
`item' target type.
-rw-r--r-- | lisp/org-capture.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/org-capture.el b/lisp/org-capture.el index 03e94fb..1752c6f 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"))) |