[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/org 4f6aab244f: Merge branch 'bugfix'
From: |
ELPA Syncer |
Subject: |
[elpa] externals/org 4f6aab244f: Merge branch 'bugfix' |
Date: |
Fri, 12 Jul 2024 09:59:16 -0400 (EDT) |
branch: externals/org
commit 4f6aab244f0cea82272f9e4c515f89f36442e18d
Merge: 50e34dde10 1b4ffe868e
Author: Ihor Radchenko <yantar92@posteo.net>
Commit: Ihor Radchenko <yantar92@posteo.net>
Merge branch 'bugfix'
---
lisp/org.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/org.el b/lisp/org.el
index 5c95824a42..3a4ba74ee6 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -6699,7 +6699,7 @@ The prefix argument ARG is passed to `org-insert-heading'.
Unlike `org-insert-heading', when point is at the beginning of a
heading, still insert the new sub-heading below."
(interactive "P")
- (when (bolp) (forward-char))
+ (when (and (bolp) (not (eobp)) (not (eolp))) (forward-char))
(org-insert-heading arg)
(cond
((org-at-heading-p) (org-do-demote))