1
0
Fork 0

Remove redundant save of point and mark

`org-with-point-at` will do this already (at least for point).
Dieser Commit ist enthalten in:
Daniel - 2021-04-01 16:51:46 +02:00
Ursprung 1916eb6736
Commit 8f4fa01304
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 1C7071A75BB72D64
1 geänderte Dateien mit 2 neuen und 3 gelöschten Zeilen

Datei anzeigen

@ -748,9 +748,8 @@ in an Org Mode buffer or when the clock is not active."
(user-error "Not in Org Mode, aborting"))
(unless org-clock-marker
(user-error "No clocked-in task, aborting"))
(save-mark-and-excursion
(org-with-point-at org-clock-marker
(org-store-link nil t)))
(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)))