Browse Source

Move cursor forward when inserting link to current clock

master
Daniel Borchmann 1 year ago
parent
commit
77920dd9a2
No known key found for this signature in database
GPG Key ID: 1C7071A75BB72D64
  1. 6
      site-lisp/db-org.el

6
site-lisp/db-org.el

@ -729,9 +729,9 @@ in an Org Mode buffer or when the clock is not active."
(user-error "No clocked-in task, aborting"))
(save-mark-and-excursion
(org-with-point-at org-clock-marker
(org-store-link nil t))
(pcase-let ((`(,location ,description) (cl-first org-stored-links)))
(org-insert-link nil location description))))
(org-store-link nil t)))
(pcase-let ((`(,location ,description) (cl-first org-stored-links)))
(org-insert-link nil location description)))
;;; End

Loading…
Cancel
Save