From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Daniel G. Gerber" Subject: [PATCH] link-home in html exporter Date: Thu, 20 Jun 2013 14:14:45 +0200 Message-ID: <51C2F235.2040400@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50993) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UpdlP-0003Py-Fc for emacs-orgmode@gnu.org; Thu, 20 Jun 2013 08:15:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UpdlI-00068j-Uu for emacs-orgmode@gnu.org; Thu, 20 Jun 2013 08:14:55 -0400 Received: from mail-ea0-x232.google.com ([2a00:1450:4013:c01::232]:54847) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UpdlI-00068X-Ld for emacs-orgmode@gnu.org; Thu, 20 Jun 2013 08:14:48 -0400 Received: by mail-ea0-f178.google.com with SMTP id l15so3965689eak.9 for ; Thu, 20 Jun 2013 05:14:47 -0700 (PDT) Received: from [192.168.0.12] (217-162-42-42.dynamic.hispeed.ch. [217.162.42.42]) by mx.google.com with ESMTPSA id a4sm172583eez.0.2013.06.20.05.14.46 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 20 Jun 2013 05:14:46 -0700 (PDT) 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: emacs-orgmode@gnu.org Hi list, diff --git a/lisp/ox-html.el b/lisp/ox-html.el index 365802f..90d6a5d 100644 --- a/lisp/ox-html.el +++ b/lisp/ox-html.el @@ -1719,7 +1719,7 @@ holding export options." "\n" (let ((link-up (org-trim (plist-get info :html-link-up))) (link-home (org-trim (plist-get info :html-link-home)))) - (unless (and (string= link-up "") (string= link-up "")) + (unless (and (string= link-up "") (string= link-home "")) (format org-html-home/up-format (or link-up link-home) (or link-home link-up))))