Move cursor forward when inserting link to current clock

This commit is contained in:
Daniel - 2021-03-20 15:45:15 +01:00
父節點 afb06fca59
當前提交 77920dd9a2
沒有發現已知的金鑰在資料庫的簽署中
GPG Key ID: 1C7071A75BB72D64
共有 1 個文件被更改,包括 3 次插入3 次删除

查看文件

@ -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