|
From: | Jambunathan K |
Subject: | Re: [O] Changing [X] by something else |
Date: | Sat, 11 Feb 2012 21:09:28 +0530 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/24.0.93 (windows-nt) |
address@hidden (François Pinard) writes: > I notice in org.el that [X] is hard-wired, while I would have liked the > possibility of changing it by [✓] in my things, which I find both softer > and cleaner. How about a variation of this #+begin_src emacs-lisp (font-lock-add-keywords 'org-mode `(("\\[X\\]" (0 (progn (compose-region (match-beginning 0) (match-end 0) "✓") nil))))) #+end_src along the lines of http://www.emacswiki.org/emacs/PrettyLambda --
[Prev in Thread] | Current Thread | [Next in Thread] |