From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Robert P. Goldman" Subject: [PATCH 1/5] bind org-export-current-backend in generic exporter. Date: Fri, 21 Oct 2011 11:13:25 -0500 Message-ID: <1319213609-40770-2-git-send-email-rpgoldman@real-time.com> References: <1319213609-40770-1-git-send-email-rpgoldman@real-time.com> Return-path: Received: from eggs.gnu.org ([140.186.70.92]:33054) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RHHuO-0001zy-K9 for emacs-orgmode@gnu.org; Fri, 21 Oct 2011 12:25:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RHHuN-00079l-NE for emacs-orgmode@gnu.org; Fri, 21 Oct 2011 12:25:24 -0400 Received: from enchanter.real-time.com ([63.170.91.11]:1027) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RHHuN-00078d-GV for emacs-orgmode@gnu.org; Fri, 21 Oct 2011 12:25:23 -0400 In-Reply-To: <1319213609-40770-1-git-send-email-rpgoldman@real-time.com> 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 Cc: "Robert P. Goldman" This is needed for org-export-preprocess-string to function correctly. --- contrib/lisp/org-export-generic.el | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/contrib/lisp/org-export-generic.el b/contrib/lisp/org-export-generic.el index bb42b60..29e90b8 100644 --- a/contrib/lisp/org-export-generic.el +++ b/contrib/lisp/org-export-generic.el @@ -617,6 +617,7 @@ underlined headlines. The default is 3." (buffer-substring (if (org-region-active-p) (region-beginning) (point-min)) (if (org-region-active-p) (region-end) (point-max)))) + (org-export-current-backend 'org-export-generic) (lines (org-split-string (org-export-preprocess-string region -- 1.7.3.5