]> git.pld-linux.org Git - packages/xemacs.git/blame - xemacs-do-not-create-backups-in-temp-directories.patch
- updated; still bad paths to files
[packages/xemacs.git] / xemacs-do-not-create-backups-in-temp-directories.patch
CommitLineData
70972c6d
AM
1diff -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))
This page took 0.025676 seconds and 4 git commands to generate.