org-capture: Fix blank lines in `item' target type
* lisp/org-capture.el (org-capture-place-item): Fix blank lines in `item' target type.
This commit is contained in:
parent
04403b446a
commit
4f90f44af3
|
@ -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")))
|
||||
|
|
Loading…
Reference in New Issue