emacs-orgmode
[Top][All Lists]
Advanced

[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: Nick Dokos
Subject: Re: [O] Request to patch the =org-html-fontify-code= function in =ox-html.el=
Date: Sun, 20 Jul 2014 14:15:11 -0400
User-agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/24.3.50 (gnu/linux)

Kaushal <address@hidden> writes:

> Full details are in my reddit post here:
> http://www.reddit.com/r/emacs/comments/2b5x5g/funny_characters_appended_at_new_line_to_source/
>


> 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

-- 
Nick




reply via email to

[Prev in Thread] Current Thread [Next in Thread]