瀏覽代碼

Merge branch 'maint'

Bastien Guerry 4 年之前
父節點
當前提交
6f72efd390
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      lisp/org.el

+ 1 - 0
lisp/org.el

@@ -6988,6 +6988,7 @@ unconditionally."
 	 (when (equal arg '(16)) (org-up-heading-safe))
 	 (org-end-of-subtree)))
       (unless (bolp) (insert "\n"))
+      (unless level (backward-char))
       (unless (and blank? (org-previous-line-empty-p))
 	(org-N-empty-lines-before-current (if blank? 1 0)))
       (insert stars " ")