From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: [Accepted] * org-html.el (org-html-make-link): correct a bug in coderef link. Date: Fri, 15 Apr 2011 13:58:40 +0200 (CEST) Message-ID: <20110415115840.52A7D412CC9@u016822.science.uva.nl> References: <1302614330-23496-1-git-send-email-manuel.giraud@univ-nantes.fr> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([140.186.70.92]:43408) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QAhwo-0003rb-Eq for emacs-orgmode@gnu.org; Fri, 15 Apr 2011 08:16:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QAhwn-0004IW-7z for emacs-orgmode@gnu.org; Fri, 15 Apr 2011 08:16:26 -0400 Received: from u016822.science.uva.nl ([146.50.39.34]:52962) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QAhwn-0004IR-17 for emacs-orgmode@gnu.org; Fri, 15 Apr 2011 08:16:25 -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: emacs-orgmode@gnu.org Patch 746 (http://patchwork.newartisans.com/patch/746/) is now "Accepted". Maintainer comment: none This relates to the following submission: http://mid.gmane.org/%3C1302614330-23496-1-git-send-email-manuel.giraud%40univ-nantes.fr%3E Here is the original message containing the patch: > Content-Type: text/plain; charset="utf-8" > MIME-Version: 1.0 > Content-Transfer-Encoding: 7bit > Subject: [O] * org-html.el (org-html-make-link): correct a bug in coderef link. > Date: Tue, 12 Apr 2011 18:18:50 -0000 > From: Manuel Giraud > X-Patchwork-Id: 746 > Message-Id: <1302614330-23496-1-git-send-email-manuel.giraud@univ-nantes.fr> > To: emacs-orgmode@gnu.org > Cc: Manuel Giraud > > --- > lisp/org-html.el | 6 ++++-- > 1 files changed, 4 insertions(+), 2 deletions(-) > > > diff --git a/lisp/org-html.el b/lisp/org-html.el > index 58fbc05..5d53478 100644 > --- a/lisp/org-html.el > +++ b/lisp/org-html.el > @@ -826,7 +826,8 @@ MAY-INLINE-P allows inlining it as an image." > (not type) > (string= type "http") > (string= type "https") > - (string= type "file")) > + (string= type "file") > + (string= type "coderef")) > (if fragment > (setq thefile (concat thefile "#" fragment)))) > > @@ -836,7 +837,8 @@ MAY-INLINE-P allows inlining it as an image." > (setq thefile > (let > ((str (org-export-html-format-href thefile))) > - (if (and type (not (string= "file" type))) > + (if (and type (not (or (string= "file" type) > + (string= "coderef" type)))) > (concat type ":" str) > str))) > >