branch: externals/org commit 1b99cccbe91768adb6823ec4d2b54e2cef337d12 Merge: 81dcc6350f 5dbf930c2d Author: Ihor Radchenko <yanta...@posteo.net> Commit: Ihor Radchenko <yanta...@posteo.net>
Merge branch 'bugfix' --- lisp/org-agenda.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el index 798ef1a10a..bc7002fd03 100644 --- a/lisp/org-agenda.el +++ b/lisp/org-agenda.el @@ -10276,7 +10276,8 @@ ARG is passed through to `org-deadline'." (unless (marker-buffer org-clock-marker) (user-error "No running clock")) (org-with-remote-undo (marker-buffer org-clock-marker) - (org-clock-cancel))) + (org-clock-cancel)) + (org-agenda-unmark-clocking-task)) (defun org-agenda-clock-goto () "Jump to the currently clocked in task within the agenda.