[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Request to patch the =org-html-fontify-code= function in =ox-htm
From: |
Bastien |
Subject: |
Re: [O] Request to patch the =org-html-fontify-code= function in =ox-html.el= |
Date: |
Mon, 28 Jul 2014 11:07:28 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) |
Nick Dokos <address@hidden> writes:
>> To fix this problem by adding the following code after the
>> line (funcall lang-mode) in the org-html-fontify-code defun
>> in ox-html.el.
>>
>> (when (require 'fill-column-indicator nil 'noerror)
>> (fci-mode -1))
>>
>> Can this fix be integrated into ox-html.el?
>>
>
> Not really: the above would cause an error if fci-mode is
> undefined. You'll have to add a bit more checking before
> calling it - check out the doc for fboundp:
>
> C-h f fboundp RET
I added such a check in `org-html-fontify-code', thanks,
--
Bastien