branch: externals/org commit 17b51973bd17f26b4dfa0a5d5f198c7e1c8461dd Author: Ihor Radchenko <yanta...@gmail.com> Commit: Ihor Radchenko <yanta...@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)