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.
This commit is contained in:
parent
6277e0b104
commit
c17bc4c1ab
|
@ -365,6 +365,7 @@ tag PERIODIC."
|
||||||
(interactive)
|
(interactive)
|
||||||
(let ((clock-buffer (marker-buffer org-clock-marker)))
|
(let ((clock-buffer (marker-buffer org-clock-marker)))
|
||||||
(when clock-buffer
|
(when clock-buffer
|
||||||
|
(setq frame-title-format org-clock-heading)
|
||||||
(dolist (frame (frame-list))
|
(dolist (frame (frame-list))
|
||||||
(modify-frame-parameters frame `((name . ,org-clock-heading)))))))
|
(modify-frame-parameters frame `((name . ,org-clock-heading)))))))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue