Jelajahi Sumber

XEmacs compatibility: temp dir

Carsten Dominik 14 tahun lalu
induk
melakukan
3c7dd8487d
1 mengubah file dengan 3 tambahan dan 3 penghapusan
  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