William Xu writes: >> (org-agenda-highlight-todo): Preserve composition property used, >> i.e. by `prettify-symbols-mode'. > > It looks like this change is not really needed, my emacs is built from > git master. Maybe the 'composition property is now preserved > automatically in the buffer? This change is needed, for example, when you change todo-state using `org-agenda-todo'. Refreshing the agenda line in org-agenda-highlight-todo involves (insert (format org-agenda-todo-keyword-format s)) `insert' will destroy the 'composition as 'composition is set by pretty-symbols to be self-destructed on change. Having said that, I can now see an easier approach to deal with the problem: simply wrap insert into `with-silent-modifications' Amended patch with some minor refactoring is attached. Best, Ihor