]> git.donarmstrong.com Git - lib.git/commitdiff
allow zero-width spaces to separate bold characters
authorDon Armstrong <don@donarmstrong.com>
Thu, 6 Nov 2014 22:54:40 +0000 (14:54 -0800)
committerDon Armstrong <don@donarmstrong.com>
Thu, 6 Nov 2014 22:54:40 +0000 (14:54 -0800)
emacs_el/configuration/org-mode-configuration.el

index bb3ff9c0ea26fef57ae014ca44bba30854b8d237..e4232a236fd25e16c8d30ac41c56091d52dbad33 100644 (file)
@@ -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)