diff options
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/ChangeLog | 7 | ||||
| -rw-r--r-- | lisp/files.el | 6 |
2 files changed, 8 insertions, 5 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index c85834eaf22..eb5f45276ab 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,10 @@ | |||
| 1 | 2000-10-23 Andrew Innes <andrewi@gnu.org> | ||
| 2 | |||
| 3 | * files.el (make-backup-file-name-1) [windowsnt, ms-dos]: Remove | ||
| 4 | superfluous calls to subst-char-in-string; instead apply | ||
| 5 | expand-file-name after convert-standard-filename to ensure | ||
| 6 | expected directory separators are used. | ||
| 7 | |||
| 1 | 2000-10-23 Eli Zaretskii <eliz@is.elta.co.il> | 8 | 2000-10-23 Eli Zaretskii <eliz@is.elta.co.il> |
| 2 | 9 | ||
| 3 | * info.el (Info-file-list-for-emacs): Add an entry for Eshell. | 10 | * info.el (Info-file-list-for-emacs): Add an entry for Eshell. |
diff --git a/lisp/files.el b/lisp/files.el index 0cc2f9b6ee6..e0277befbc1 100644 --- a/lisp/files.el +++ b/lisp/files.el | |||
| @@ -2327,12 +2327,8 @@ doesn't exist, it is created." | |||
| 2327 | (setq file (expand-file-name file))) ; make defaults explicit | 2327 | (setq file (expand-file-name file))) ; make defaults explicit |
| 2328 | ;; Replace any invalid file-name characters (for the | 2328 | ;; Replace any invalid file-name characters (for the |
| 2329 | ;; case of backing up remote files). | 2329 | ;; case of backing up remote files). |
| 2330 | (setq file (convert-standard-filename file)) | 2330 | (setq file (expand-file-name (convert-standard-filename file))) |
| 2331 | (setq dir-sep-string (char-to-string directory-sep-char)) | 2331 | (setq dir-sep-string (char-to-string directory-sep-char)) |
| 2332 | (or (eq directory-sep-char ?/) | ||
| 2333 | (subst-char-in-string ?/ ?\\ file)) | ||
| 2334 | (or (eq directory-sep-char ?\\) | ||
| 2335 | (subst-char-in-string ?\\ ?/ file)) | ||
| 2336 | (if (eq (aref file 1) ?:) | 2332 | (if (eq (aref file 1) ?:) |
| 2337 | (setq file (concat dir-sep-string | 2333 | (setq file (concat dir-sep-string |
| 2338 | "drive_" | 2334 | "drive_" |