From 90293c773568a001991ef8e88955eea571266f0f Mon Sep 17 00:00:00 2001 From: Daniel Borchmann Date: Sat, 25 Mar 2023 11:09:04 +0100 Subject: [PATCH] Remove whitespace when inserting interrupted task in capture message Not quite sure whether this is really necessary, but it won't hurt. --- init.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.el b/init.el index bd9f22b..405c106 100644 --- a/init.el +++ b/init.el @@ -1352,7 +1352,7 @@ point to the beginning of buffer first." (file db/org-default-refile-file) ,(concat "* DONE [#B] %^{What}\nCLOSED: %U\n" ":PROPERTIES:\n:CREATED: %U\n:END:\n" - "\nInterrupted %(with-temp-buffer (db/org-add-link-to-current-clock) (buffer-string))\n\n%?") + "\nInterrupted %(with-temp-buffer (db/org-add-link-to-current-clock) (string-trim (buffer-string)))\n\n%?") :clock-in t :clock-resume t :empty-lines-after 0) ("r" "respond" entry