Skip to content

Instantly share code, notes, and snippets.

@jamescherti
Last active March 20, 2024 12:28
Show Gist options
  • Select an option

  • Save jamescherti/61ebd7ff293d989a385d2e73fa0b45b4 to your computer and use it in GitHub Desktop.

Select an option

Save jamescherti/61ebd7ff293d989a385d2e73fa0b45b4 to your computer and use it in GitHub Desktop.
Emacs org mode: Replace list hyphen with bullet
;; 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