Selaa lähdekoodia

XEmacs compatibility: temp dir

Carsten Dominik 14 vuotta sitten
vanhempi
commit
3c7dd8487d
1 muutettua tiedostoa jossa 3 lisäystä ja 3 poistoa
  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