diff options
| author | Richard M. Stallman | 1994-09-05 04:06:23 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1994-09-05 04:06:23 +0000 |
| commit | 260ec24d2952fc021aba510c1ed6229175676438 (patch) | |
| tree | ee553fe847c4b364ecdbd161c5fe8fd5bb9ee1ce /src | |
| parent | d26859ebed557746e8b8ba517349b14cba840540 (diff) | |
| download | emacs-260ec24d2952fc021aba510c1ed6229175676438.tar.gz emacs-260ec24d2952fc021aba510c1ed6229175676438.zip | |
(init_cmdargs): After chasing link, use only the expanded name.
(init_cmdargs): When setting dir, expand the dir name.
Diffstat (limited to 'src')
| -rw-r--r-- | src/emacs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emacs.c b/src/emacs.c index b93d9212ad5..1bfcac5c946 100644 --- a/src/emacs.c +++ b/src/emacs.c | |||
| @@ -261,7 +261,7 @@ init_cmdargs (argc, argv, skip_args) | |||
| 261 | tem = Ffile_symlink_p (name); | 261 | tem = Ffile_symlink_p (name); |
| 262 | if (!NILP (tem)) | 262 | if (!NILP (tem)) |
| 263 | { | 263 | { |
| 264 | name = tem; | 264 | name = Fexpand_file_name (tem, dir); |
| 265 | dir = Ffile_name_directory (name); | 265 | dir = Ffile_name_directory (name); |
| 266 | } | 266 | } |
| 267 | else | 267 | else |