From 17b51973bd17f26b4dfa0a5d5f198c7e1c8461dd Mon Sep 17 00:00:00 2001 From: Ihor Radchenko Date: Thu, 15 Sep 2022 19:23:52 +0800 Subject: [PATCH] * 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 bd5a01319..bafd6115e 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)