|
@@ -6924,7 +6924,7 @@ frame is not changed."
|
|
|
(setq beg (point)
|
|
|
heading (org-get-heading 'no-tags))
|
|
|
(org-end-of-subtree t t)
|
|
|
- (when (org-at-heading-p) (backward-char 1))
|
|
|
+ (when (and (not (eobp)) (org-at-heading-p)) (backward-char 1))
|
|
|
(setq end (point)))
|
|
|
(when (and (buffer-live-p org-last-indirect-buffer)
|
|
|
(not (eq org-indirect-buffer-display 'new-frame))
|