Explicitly set frame title when current Org task changes

This should enable new frames to show the correct title, and not just the
default "emacs" string.
master
Daniel Borchmann 1 year ago
parent 6277e0b104
commit c17bc4c1ab
No known key found for this signature in database
GPG Key ID: 1C7071A75BB72D64
  1. 3
      site-lisp/db-org.el

@ -365,8 +365,9 @@ tag PERIODIC."
(interactive)
(let ((clock-buffer (marker-buffer org-clock-marker)))
(when clock-buffer
(setq frame-title-format org-clock-heading)
(dolist (frame (frame-list))
(modify-frame-parameters frame `((name . , org-clock-heading)))))))
(modify-frame-parameters frame `((name . ,org-clock-heading)))))))
(defun db/show-current-org-task ()
"Show title of currently clock in task in modeline."

Loading…
Cancel
Save