From 71ec3f77372787cb7bb02edb375fbb7a90f4d76b Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Thu, 6 Nov 2014 14:54:40 -0800 Subject: [PATCH] allow zero-width spaces to separate bold characters --- emacs_el/configuration/org-mode-configuration.el | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/emacs_el/configuration/org-mode-configuration.el b/emacs_el/configuration/org-mode-configuration.el index bb3ff9c..e4232a2 100644 --- a/emacs_el/configuration/org-mode-configuration.el +++ b/emacs_el/configuration/org-mode-configuration.el @@ -934,3 +934,8 @@ A prefix arg forces clock in of the default task." (org-with-point-at clock-in-to-task (org-clock-in nil)))) + +; allow for zero-width-space to be a break in regexp too +(setcar org-emphasis-regexp-components "​ [:space:] \t('\"{") +(setcar (nthcdr 1 org-emphasis-regexp-components) "​ [:space:]- \t.,:!?;'\")}\\") +(org-set-emph-re 'org-emphasis-regexp-components org-emphasis-regexp-components) -- 2.39.5