From d84699459e67388512faaab88f6c7f7d1cc7379c Mon Sep 17 00:00:00 2001 From: Eric Schulte Date: Tue, 25 May 2010 17:29:41 -0600 Subject: [PATCH] babel: xemacs variable compatibility check -- thanks to Volker Zell --- contrib/babel/lisp/org-babel.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/contrib/babel/lisp/org-babel.el b/contrib/babel/lisp/org-babel.el index d4313b2f7..d8b345a62 100644 --- a/contrib/babel/lisp/org-babel.el +++ b/contrib/babel/lisp/org-babel.el @@ -1413,7 +1413,8 @@ specifies the value of ERROR-BUFFER." (if error-buffer (make-temp-file (expand-file-name "scor" - (or small-temporary-file-directory + (or (unless (featurep 'xemacs) + small-temporary-file-directory) temporary-file-directory))) nil)) exit-status)