Skip to content

Commit

Permalink
* lisp/org.el (org-log-beginning): Fix parens
Browse files Browse the repository at this point in the history
  • Loading branch information
yantar92 committed Sep 15, 2022
1 parent 1a5e3f9 commit 17b5197
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lisp/org.el
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 17b5197

Please sign in to comment.