mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-07-16 00:16:27 +00:00
Fix commit e31955.
Thanks to Samuel for reporting this.
This commit is contained in:
parent
c419d1134e
commit
13c4d7f6e1
|
@ -11585,8 +11585,8 @@ prefix argument (`C-u C-u C-u C-c C-w')."
|
|||
(if regionp
|
||||
(delete-region (point) (+ (point) (- region-end region-start)))
|
||||
(delete-region
|
||||
(point-at-bol)
|
||||
(min (buffer-size) (1+ (org-end-of-subtree t))))))
|
||||
(and (org-back-to-heading t) (point))
|
||||
(min (buffer-size) (org-end-of-subtree t t) (point)))))
|
||||
(when (featurep 'org-inlinetask)
|
||||
(org-inlinetask-remove-END-maybe))
|
||||
(setq org-markers-to-move nil)
|
||||
|
|
Loading…
Reference in a new issue