summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lisp/ediff-init.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/ediff-init.el b/lisp/ediff-init.el
index fc91c7bbea2..1126d589da6 100644
--- a/lisp/ediff-init.el
+++ b/lisp/ediff-init.el
@@ -1205,7 +1205,8 @@ Instead, C-h would jump to previous difference."
:group 'ediff)
(defcustom ediff-temp-file-prefix
- (file-name-as-directory temporary-file-directory)
+ (file-name-as-directory
+ (or small-temporary-file-directory temporary-file-directory))
"*Prefix to put on Ediff temporary file names.
Do not start with `~/' or `~USERNAME/'."
:type 'string