From 1b1797d446fa0f28f7c73a287ea54fc9ef65eb35 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Sun, 10 Feb 2019 23:11:54 +0100 Subject: [PATCH] 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 --- lisp/org-list.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/org-list.el b/lisp/org-list.el index 0d688ef78..1c636dd4d 100644 --- a/lisp/org-list.el +++ b/lisp/org-list.el @@ -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.