sanitisation

This commit is contained in:
Stuart Mumford 2021-12-27 19:51:13 +00:00
parent 612c0d1e31
commit 201135cc21
No known key found for this signature in database
GPG Key ID: 60BC5C03E6276769

View File

@ -122,7 +122,11 @@ value of `org-clock-waybar-not-clocked-in-text'."
This function is ought to be used via Emacsclient:
emacsclient --eval '(org-clock-waybar-output-task)'"
(org-clock-waybar--get-clocked-task-json))
(let* ((output (org-clock-waybar--get-clocked-task-json))
(start 0)
(end (length output)))
(set-text-properties start end nil output)
output))
(defun org-clock-waybar-setup ()
"Setup org-clock-waybar.