Browse Source

XEmacs compatibility: temp dir

Carsten Dominik 10 years ago
parent
commit
3c7dd8487d
1 changed files with 3 additions and 3 deletions
  1. 3 3
      lisp/ob-eval.el

+ 3 - 3
lisp/ob-eval.el

@@ -139,9 +139,9 @@ specifies the value of ERROR-BUFFER."
 	 (if error-buffer
 	     (make-temp-file
 	      (expand-file-name "scor"
-				(or (unless (featurep 'xemacs)
-				      small-temporary-file-directory)
-				    temporary-file-directory)))
+                                (if (featurep 'xemacs)
+                                    (temp-directory)
+                                  temporary-file-directory)))
 	   nil))
 	exit-status)
     (if (or replace