diff options
author | Richard M. Stallman <rms@gnu.org> | 1996-06-13 19:09:32 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1996-06-13 19:09:32 +0000 |
commit | 8782df6db877d6d3a4105f84f88d96bcb785b693 (patch) | |
tree | e356674c934acf2e659e7d3f6655054dee4f9484 | |
parent | 898163b497e2af6a28ff0fa0312f5ad8469fa4da (diff) | |
download | emacs-8782df6db877d6d3a4105f84f88d96bcb785b693.tar.gz |
(Fexpand_file_name): When simplifying /foo/.., keep the initial slash.
-rw-r--r-- | src/fileio.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fileio.c b/src/fileio.c index a05a72e97bd..f5a800f6c16 100644 --- a/src/fileio.c +++ b/src/fileio.c @@ -1386,6 +1386,8 @@ See also the function `substitute-in-file-name'.") { while (o != target && (--o) && !IS_DIRECTORY_SEP (*o)) ; + if (o == target && IS_ANY_SEP (*o)) + ++o; p += 3; } else |