emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/org c6d4c93 2/6: Merge branch 'maint'


From: ELPA Syncer
Subject: [elpa] externals/org c6d4c93 2/6: Merge branch 'maint'
Date: Sat, 15 May 2021 04:57:15 -0400 (EDT)

branch: externals/org
commit c6d4c9344c57ed45eee9f7bf563751330d9e13b4
Merge: 78e39d5 8544f55
Author: Bastien <bzg@gnu.org>
Commit: Bastien <bzg@gnu.org>

    Merge branch 'maint'
---
 lisp/org-inlinetask.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lisp/org-inlinetask.el b/lisp/org-inlinetask.el
index 79146d2..f19353b 100644
--- a/lisp/org-inlinetask.el
+++ b/lisp/org-inlinetask.el
@@ -238,7 +238,7 @@ going below `org-inlinetask-min-level'."
          (setq beg (point))
          (replace-match down-task nil t nil 1)
          (org-inlinetask-goto-end)
-         (if (and (eobp) (looking-back "END\\s-*"))
+         (if (and (eobp) (looking-back "END\\s-*" (point-at-bol)))
               (beginning-of-line)
             (forward-line -1))
          (unless (= (point) beg)
@@ -264,7 +264,7 @@ If the task has an end part, also demote it."
        (setq beg (point))
        (replace-match down-task nil t nil 1)
        (org-inlinetask-goto-end)
-        (if (and (eobp) (looking-back "END\\s-*"))
+        (if (and (eobp) (looking-back "END\\s-*" (point-at-bol)))
               (beginning-of-line)
             (forward-line -1))
        (unless (= (point) beg)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]