[O] [PATCH] org-clock.el: Fix restore of frame-title-format

2019-05-28 Thread Andrii Kolomoiets
* lisp/org-clock.el (org-frame-title-format-backup): Use nil as initial value. (org-clock-in): set `org-frame-title-format-backup' to `frame-title-format'. (org-clock-restore-frame-title-format): New function. (org-clock-out): Use it. (org-clock-cancel): Use it. The problem was that the `org-frame

[O] [PATCH] org-clock-out overrides frame-title-format [9.2.3 (9.2.3-17-g4df705-elpa @ ~/.emacs.d/elpa/org-20190513/)]

2019-05-19 Thread Andrii Kolomoiets
Hello. The org-frame-title-format-backup variable is initialized on org-clock.el loading and future changes to frame-title-format is ignored: 1. emacs -Q 2. M-: frame-title-format It's "%b" 3. M-: (require 'org-clock) 4. (setq frame-title-format "%b bar") 5. C-x b test.org 6. M-x org-mode 7. I