about summary refs log tree commit diff
path: root/users
diff options
context:
space:
mode:
Diffstat (limited to 'users')
-rw-r--r--users/grfn/emacs.d/org-query.el6
1 files changed, 5 insertions, 1 deletions
diff --git a/users/grfn/emacs.d/org-query.el b/users/grfn/emacs.d/org-query.el
index e659e02c8b59..9dcdeeba12d7 100644
--- a/users/grfn/emacs.d/org-query.el
+++ b/users/grfn/emacs.d/org-query.el
@@ -86,7 +86,11 @@
 (defun grfn/org-current-clocked-in-task-message ()
   (if (org-clocking-p)
       (format "(%s) [%s]"
-              (org-element-property :title (grfn/org-element-clocked-in-task))
+              (->> (grfn/org-element-clocked-in-task)
+                   (org-element-property :title)
+                   (car)
+                   (substring-no-properties)
+                   (s-trim))
               (grfn/minutes->hours:minutes
                (org-clock-get-clocked-time)))
     ""))