aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/ChangeLog8
-rw-r--r--lisp/startup.el6
2 files changed, 14 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index bf3282f35ec..2559eb3dee0 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,11 @@
12002-03-29 Eli Zaretskii <eliz@is.elta.co.il>
2
3 * files.el (auto-save-file-name-transforms): Don't run "\\2" via
4 expand-file-name.
5
6 * startup.el (command-line): Recompute auto-save-file-name-transforms
7 using the updated value of temporary-file-directory.
8
12002-03-29 Simon Marshall <simon.marshall@misys.com> 92002-03-29 Simon Marshall <simon.marshall@misys.com>
2 10
3 * font-lock.el (save-buffer-state): Use make-symbol to bind 11 * font-lock.el (save-buffer-state): Use make-symbol to bind
diff --git a/lisp/startup.el b/lisp/startup.el
index dd13f1ede3e..bff519156c3 100644
--- a/lisp/startup.el
+++ b/lisp/startup.el
@@ -653,6 +653,12 @@ or `CVS', and any subdirectory that contains a file named `.nosearch'."
653 (setq small-temporary-file-directory 653 (setq small-temporary-file-directory
654 (if (eq system-type 'ms-dos) 654 (if (eq system-type 'ms-dos)
655 (getenv "TMPDIR"))) 655 (getenv "TMPDIR")))
656 (setq auto-save-file-name-transforms
657 (list (list "\\`/[^/]*:\\(.+/\\)*\\(.*\\)"
658 ;; Don't put "\\2" inside expand-file-name, since
659 ;; it will be transformed to "/2" on DOS/Windows.
660 (concat (expand-file-name temporary-file-directory)
661 "\\2"))))
656 662
657 ;; See if we should import version-control from the environment variable. 663 ;; See if we should import version-control from the environment variable.
658 (let ((vc (getenv "VERSION_CONTROL"))) 664 (let ((vc (getenv "VERSION_CONTROL")))