diff options
| author | Karoly Lorentey | 2004-04-16 13:36:07 +0000 |
|---|---|---|
| committer | Karoly Lorentey | 2004-04-16 13:36:07 +0000 |
| commit | 5ffa0039d41813857b4442d435ad4f65123737c5 (patch) | |
| tree | 4145589d785cf7b6bfeb760a9b761a7713f7f4dd /src | |
| parent | bf11e465e7de681939128d851b82689de1a54849 (diff) | |
| parent | 3f0d8131f84963c112c2528a3b79760a2c8873fd (diff) | |
| download | emacs-5ffa0039d41813857b4442d435ad4f65123737c5.tar.gz emacs-5ffa0039d41813857b4442d435ad4f65123737c5.zip | |
Merged in changes from CVS trunk.
Patches applied:
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-218
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-219
Update from CVS
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-139
Diffstat (limited to 'src')
| -rw-r--r-- | src/dired.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/dired.c b/src/dired.c index f4102ff6edb..e833ceb216b 100644 --- a/src/dired.c +++ b/src/dired.c | |||
| @@ -914,7 +914,13 @@ Elements of the attribute list are: | |||
| 914 | call the corresponding file handler. */ | 914 | call the corresponding file handler. */ |
| 915 | handler = Ffind_file_name_handler (filename, Qfile_attributes); | 915 | handler = Ffind_file_name_handler (filename, Qfile_attributes); |
| 916 | if (!NILP (handler)) | 916 | if (!NILP (handler)) |
| 917 | return call3 (handler, Qfile_attributes, filename, id_format); | 917 | { /* Only pass the extra arg if it is used to help backward compatibility |
| 918 | with old file handlers which do not implement the new arg. --Stef */ | ||
| 919 | if (NILP (id_format)) | ||
| 920 | return call2 (handler, Qfile_attributes, filename); | ||
| 921 | else | ||
| 922 | return call3 (handler, Qfile_attributes, filename, id_format); | ||
| 923 | } | ||
| 918 | 924 | ||
| 919 | encoded = ENCODE_FILE (filename); | 925 | encoded = ENCODE_FILE (filename); |
| 920 | 926 | ||