emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [PATCH] Fix org-confluence-export-as-confluence
@ 2013-09-12 10:33 Chris Lowis
  2013-09-12 14:53 ` Nicolas Goaziou
  0 siblings, 1 reply; 2+ messages in thread
From: Chris Lowis @ 2013-09-12 10:33 UTC (permalink / raw)
  To: emacs-orgmode

[-- 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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] Fix org-confluence-export-as-confluence
  2013-09-12 10:33 [PATCH] Fix org-confluence-export-as-confluence Chris Lowis
@ 2013-09-12 14:53 ` Nicolas Goaziou
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2013-09-12 14:53 UTC (permalink / raw)
  To: Chris Lowis; +Cc: emacs-orgmode

Hello,

Chris Lowis <chris.lowis@gmail.com> writes:

> 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.

The fix is slightly different. This should now be fixed. Thank you for
reporting it and for the patch.


Regards,

-- 
Nicolas Goaziou

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-09-12 14:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-09-12 10:33 [PATCH] Fix org-confluence-export-as-confluence Chris Lowis
2013-09-12 14:53 ` Nicolas Goaziou

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).