emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Chris Lowis <chris.lowis@gmail.com>
To: emacs-orgmode@gnu.org
Subject: [PATCH] Fix org-confluence-export-as-confluence
Date: Thu, 12 Sep 2013 11:33:17 +0100	[thread overview]
Message-ID: <CAMy=AAKVC+JP-hLbzX8A+EKa1Jv9oey8Js3RDEiMXYoFLFqeoA@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 275 bytes --]

I ran into a "Symbol's value as variable is void: external" error with
org-confluence-export-as-confluence using a recent checkout of
org-mode on GNU Emacs 24.3.1 (x86_64-apple-darwin12.3.0, NS
apple-appkit-1187.37). The attached patch fixes it on my system.

Cheers,

Chris

[-- Attachment #2: 0001-Fix-org-confluence-export-as-confluence.patch --]
[-- Type: application/octet-stream, Size: 1066 bytes --]

From ef50dafec778ede8f66786ec09866a68bd6ac4b4 Mon Sep 17 00:00:00 2001
From: Chris Lowis <chris.lowis@gmail.com>
Date: Thu, 12 Sep 2013 11:25:11 +0100
Subject: [PATCH] Fix org-confluence-export-as-confluence

* contrib/lisp/ox-confluence.el: remove `external' in
  org-export-to-buffer

Removed `external' to fix the "Symbol's value as variable is void:
external" error when calling org-confluence-export-as-confluence
interactively.
---
 contrib/lisp/ox-confluence.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/contrib/lisp/ox-confluence.el b/contrib/lisp/ox-confluence.el
index 6170a0c..a4b0cd2 100644
--- a/contrib/lisp/ox-confluence.el
+++ b/contrib/lisp/ox-confluence.el
@@ -171,6 +171,6 @@ will be displayed when `org-export-show-temporary-export-buffer'
 is non-nil."
   (interactive)
   (org-export-to-buffer 'confluence "*org CONFLUENCE Export*"
-    async subtreep visible-only body-only external (lambda () (text-mode))))
+    async subtreep visible-only body-only (lambda () (text-mode))))
 
 (provide 'ox-confluence)
-- 
1.8.0


             reply	other threads:[~2013-09-12 10:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-12 10:33 Chris Lowis [this message]
2013-09-12 14:53 ` [PATCH] Fix org-confluence-export-as-confluence Nicolas Goaziou

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAMy=AAKVC+JP-hLbzX8A+EKa1Jv9oey8Js3RDEiMXYoFLFqeoA@mail.gmail.com' \
    --to=chris.lowis@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).