0
0
Fork 1
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-09-29 20:07:46 +00:00

org-list: Fix missing newline in `org-list-make-subtree'

* lisp/org-list.el (org-list-make-subtree): Add missing newline.

Reported-by: Felix Wiemuth
Fixes bug#34334
This commit is contained in:
Nicolas Goaziou 2019-02-10 23:11:54 +01:00
parent b929c3e5e4
commit 1b1797d446

View file

@ -3185,7 +3185,7 @@ Point is left at list's end."
(if (not (ignore-errors (goto-char (org-in-item-p))))
(error "Not in a list")
(let ((list (save-excursion (org-list-to-lisp t))))
(insert (org-list-to-subtree list)))))
(insert (org-list-to-subtree list) "\n"))))
(defun org-list-to-generic (list params)
"Convert a LIST parsed through `org-list-to-lisp' to a custom format.