|
@@ -16880,7 +16880,7 @@ If there is no such heading, return nil."
|
|
(if (eq major-mode 'org-mode)
|
|
(if (eq major-mode 'org-mode)
|
|
(progn
|
|
(progn
|
|
(org-end-of-subtree nil t)
|
|
(org-end-of-subtree nil t)
|
|
- (backward-char 1))
|
|
|
|
|
|
+ (unless (eobp) (backward-char 1)))
|
|
ad-do-it))
|
|
ad-do-it))
|
|
|
|
|
|
(defun org-forward-same-level (arg &optional invisible-ok)
|
|
(defun org-forward-same-level (arg &optional invisible-ok)
|