Last active
March 20, 2024 12:28
-
-
Save jamescherti/61ebd7ff293d989a385d2e73fa0b45b4 to your computer and use it in GitHub Desktop.
Emacs org mode: Replace list hyphen with bullet
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ;; Emacs org mode: Replace list hyphen "-" with bullet | |
| ;; URL: https://gist.github.com/jamescherti/61ebd7ff293d989a385d2e73fa0b45b4 | |
| (font-lock-add-keywords | |
| 'org-mode '(("^ *\\([-]\\) " | |
| (0 (prog1 () (compose-region (match-beginning 1) | |
| (match-end 1) | |
| "\u2022")))))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment