Explorar o código

Merge branch 'master' of orgmode.org:org-mode

Bastien Guerry %!s(int64=13) %!d(string=hai) anos
pai
achega
d2871b007b
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      lisp/org.el

+ 1 - 1
lisp/org.el

@@ -7568,7 +7568,7 @@ the inserted text when done."
      (if force-level
 	 (delete-region (point-at-bol) (point)))
      ;; Paste
-     (beginning-of-line (if (org-at-heading-p) 2 1))
+     (beginning-of-line (if (bolp) 2 1))
      (unless for-yank (org-back-over-empty-lines))
      (setq beg (point))
      (and (fboundp 'org-id-paste-tracker) (org-id-paste-tracker txt))