From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Request to patch the =org-html-fontify-code= function in =ox-html.el= Date: Mon, 28 Jul 2014 11:07:28 +0200 Message-ID: <87oaw92y6s.fsf@bzg.ath.cx> References: <87ha2bc2xc.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59770) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XBofp-0007Ws-PP for emacs-orgmode@gnu.org; Mon, 28 Jul 2014 13:25:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XBofY-0005jH-8o for emacs-orgmode@gnu.org; Mon, 28 Jul 2014 13:25:21 -0400 Received: from mail-s76.mailgun.info ([184.173.153.204]:55502) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XBofY-0005NT-5t for emacs-orgmode@gnu.org; Mon, 28 Jul 2014 13:25:04 -0400 In-Reply-To: <87ha2bc2xc.fsf@gmail.com> (Nick Dokos's message of "Sun, 20 Jul 2014 14:15:11 -0400") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Nick Dokos Cc: emacs-orgmode@gnu.org Nick Dokos 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