forked from gergely/org-clock-waybar
Merge pull request '[Bugfix] Make sure we remove all text properties before outputting JSON data' (#8) from remove-text-properties into main
Reviewed-on: gergely/org-clock-waybar#8
This commit is contained in:
commit
754fd9d2fa
@ -122,7 +122,11 @@ value of `org-clock-waybar-not-clocked-in-text'."
|
|||||||
This function is ought to be used via Emacsclient:
|
This function is ought to be used via Emacsclient:
|
||||||
|
|
||||||
emacsclient --eval '(org-clock-waybar-output-task)'"
|
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 ()
|
(defun org-clock-waybar-setup ()
|
||||||
"Setup org-clock-waybar.
|
"Setup org-clock-waybar.
|
||||||
|
Loading…
Reference in New Issue
Block a user