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

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

[elpa] externals/org 1f78ca45f8: org: Small simplification


From: ELPA Syncer
Subject: [elpa] externals/org 1f78ca45f8: org: Small simplification
Date: Fri, 4 Feb 2022 05:57:35 -0500 (EST)

branch: externals/org
commit 1f78ca45f8d534e51c1e30e9225d1da8b2e50650
Author: Marco Wahl <marcowahlsoft@gmail.com>
Commit: Marco Wahl <marcowahlsoft@gmail.com>

    org: Small simplification
---
 lisp/org.el | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/lisp/org.el b/lisp/org.el
index b3c5f31045..ef8d460e14 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -13601,9 +13601,8 @@ drawer is immediately hidden."
      (org-with-limited-levels (org-back-to-heading-or-point-min t)))
    (if (org-before-first-heading-p)
        (while (and (org-at-comment-p) (bolp)) (forward-line))
-     (progn
-       (forward-line)
-       (when (looking-at-p org-planning-line-re) (forward-line))))
+     (forward-line)
+     (when (looking-at-p org-planning-line-re) (forward-line)))
    (unless (looking-at-p org-property-drawer-re)
      ;; Make sure we start editing a line from current entry, not from
      ;; next one.  It prevents extending text properties or overlays



reply via email to

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