]>
Commit | Line | Data |
---|---|---|
70972c6d AM |
1 | diff -ru xemacs-21.5.21.orig/lisp/files.el xemacs-21.5.21/lisp/files.el |
2 | --- xemacs-21.5.21.orig/lisp/files.el 2005-04-08 16:07:00.000000000 +0200 | |
3 | +++ xemacs-21.5.21/lisp/files.el 2005-06-07 21:25:23.000000000 +0200 | |
4 | @@ -166,7 +166,9 @@ | |
5 | Checks for files in `temporary-file-directory' or | |
6 | `small-temporary-file-directory'." | |
7 | (let ((temporary-file-directory (temp-directory))) | |
8 | - (not (or (let ((comp (compare-strings temporary-file-directory 0 nil | |
9 | + (not (or (null name) | |
10 | + (string-match "^/tmp/" name) | |
11 | + (let ((comp (compare-strings temporary-file-directory 0 nil | |
12 | name 0 nil))) | |
13 | ;; Directory is under temporary-file-directory. | |
14 | (and (not (eq comp t)) |