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

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

[elpa] externals/org 17b51973bd 2/6: * lisp/org.el (org-log-beginning):


From: ELPA Syncer
Subject: [elpa] externals/org 17b51973bd 2/6: * lisp/org.el (org-log-beginning): Fix parens
Date: Thu, 15 Sep 2022 23:57:54 -0400 (EDT)

branch: externals/org
commit 17b51973bd17f26b4dfa0a5d5f198c7e1c8461dd
Author: Ihor Radchenko <yantar92@gmail.com>
Commit: Ihor Radchenko <yantar92@gmail.com>

    * lisp/org.el (org-log-beginning): Fix parens
---
 lisp/org.el | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/lisp/org.el b/lisp/org.el
index bd5a013195..bafd6115e1 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -10325,8 +10325,7 @@ narrowing."
          ;; When current headline is at the end of buffer and does not
          ;; end with trailing newline the above can move to the
          ;; beginning of the headline.
-         (when (< (point) endpos)) ;; FIXME: Spurious extra paren?
-         (goto-char endpos)))))
+         (when (< (point) endpos) (goto-char endpos))))))
    (if (bolp) (point) (line-beginning-position 2))))
 
 (defun org-add-log-setup (&optional purpose state prev-state how extra)



reply via email to

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