Move cursor forward when inserting link to current clock
This commit is contained in:
parent
afb06fca59
commit
77920dd9a2
|
@ -729,9 +729,9 @@ in an Org Mode buffer or when the clock is not active."
|
||||||
(user-error "No clocked-in task, aborting"))
|
(user-error "No clocked-in task, aborting"))
|
||||||
(save-mark-and-excursion
|
(save-mark-and-excursion
|
||||||
(org-with-point-at org-clock-marker
|
(org-with-point-at org-clock-marker
|
||||||
(org-store-link nil t))
|
(org-store-link nil t)))
|
||||||
(pcase-let ((`(,location ,description) (cl-first org-stored-links)))
|
(pcase-let ((`(,location ,description) (cl-first org-stored-links)))
|
||||||
(org-insert-link nil location description))))
|
(org-insert-link nil location description)))
|
||||||
|
|
||||||
|
|
||||||
;;; End
|
;;; End
|
||||||
|
|
Loading…
Reference in New Issue