Jelajahi Sumber

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
Nicolas Goaziou 6 tahun lalu
induk
melakukan
1b1797d446
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      lisp/org-list.el

+ 1 - 1
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.