[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] How to use em-dash as a bullet for plain text lists?
From: |
Grant Rettke |
Subject: |
Re: [O] How to use em-dash as a bullet for plain text lists? |
Date: |
Thu, 14 Jun 2018 19:35:58 -0500 |
>> What could be possible, however, is to add UTF-8 characters as overlays
>> on top of standard bullets. I think "org-bullet" does something like
>> that.
This seems to work:
(font-lock-add-keywords
'org-mode
'(("^[[:space:]]*\\(-\\) "
0 (prog1 () (compose-region (match-beginning 1) (match-end 1) "—")))))