Oleh <ohwoeo...@gmail.com> writes:

>>>     (setcar (nthcdr 2 org-emphasis-regexp-components) " \t\n,'")
>>>     (custom-set-variables `(org-emphasis-alist ',org-emphasis-alist))
>>
>> However I don't understand why the second line is necessary (but when
>> testing it, I found it necessary).
>>
>
> `org-emphasis-alist` has a :set handler `org-set-emph-re` which will do the 
> job
> of setting up the regexps. I don't want to call `org-set-emph-re` directly,
> instead I set `org-emphasis-alist` to itself and let the customize interface
> call the handler for me.

Quite interesting! Thanks a lot for the very clear explanation.

Alan

Reply via email to