summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2021-04-19 22:52:15 -0400
committerKyle Meyer <kyle@kyleam.com>2021-04-19 22:52:15 -0400
commit9b4dbe5f03ceba273a15f9f3610cea7c44118c66 (patch)
tree597946a460850be8cd527b8dcc9bed9a4c981a9a
parentbc3ed23d164cd4e0d52a86f8ac59158b83539d11 (diff)
downloadorg-mode-9b4dbe5f03ceba273a15f9f3610cea7c44118c66.tar.gz
mouse: Honor org-checkbox face
* lisp/org-mouse.el: Use org-checkbox rather than bold for checkbox face for consistent checkbox appearance. Reported-by: Yaroslav Rogov <rogovyaroslav@gmail.com> Link: https://orgmode.org/list/A7D22E5B-B1A3-4ADC-9808-121F0D0ECD60@gmail.com
-rw-r--r--lisp/org-mouse.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org-mouse.el b/lisp/org-mouse.el
index 5c222ea..d3ad73b 100644
--- a/lisp/org-mouse.el
+++ b/lisp/org-mouse.el
@@ -893,7 +893,7 @@ This means, between the beginning of line and the point."
(font-lock-add-keywords
nil
`(("^[ \t]*\\([-+*]\\|[0-9]+[.)]\\) +\\(\\[[ X]\\]\\)"
- (2 `(face bold keymap ,org-mouse-map mouse-face highlight) t)))
+ (2 `(face org-checkbox keymap ,org-mouse-map mouse-face highlight) t)))
t))
(defadvice org-open-at-point (around org-mouse-open-at-point activate)