emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Highlight text in org-agenda-prefix-format
@ 2019-04-12 16:53 Abdo Haji-Ali
  0 siblings, 0 replies; only message in thread
From: Abdo Haji-Ali @ 2019-04-12 16:53 UTC (permalink / raw)
  To: emacs-orgmode

I want to highlight certain text in my todo list in org-agenda.
I thought I could do something like this

  (defun my-func
        (propertize "texty" 'face 'org-warning))
  (setq org-agenda-prefix-format '((todo .  "%(my-func) ")))

But the text appears without any formatting. Is there a reason for this?
Is there another way to highlight text in the todo-list in org agenda?

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-04-12 16:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-04-12 16:53 Highlight text in org-agenda-prefix-format Abdo Haji-Ali

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).