[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
directory-files doesn't show "." and ".."
From: |
Thierry Volpiatto |
Subject: |
directory-files doesn't show "." and ".." |
Date: |
Wed, 17 Feb 2010 17:21:15 +0100 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/23.1.92 (gnu/linux) |
Hi,
when i use directory-files with the FULL flag, it show the "." and ".."
with their complete path name:
,----[ (directory-files default-directory t) ]
| ("/ssh:thievol:/home/thierry/.emacs.d/themes/indian-theme.el"
| "/ssh:thievol:/home/thierry/.emacs.d" >>>>>>>>>>>>>>>>>>>>>>>> ".."
| "/ssh:thievol:/home/thierry/.emacs.d/themes/mybest-theme.el"
| "/ssh:thievol:/home/thierry/.emacs.d/themes/basic-theme.el"
| "/ssh:thievol:/home/thierry/.emacs.d/themes" >>>>>>>>>>>>>>>>> "."
| "/ssh:thievol:/home/thierry/.emacs.d/themes/favorite-theme.el"
| "/ssh:thievol:/home/thierry/.emacs.d/themes/forest-theme.el")
`----
However:
,----[ (directory-files default-directory) ]
| ("indian-theme.el"
| ".." >>>>>>>>>>>>> good
| "mybest-theme.el"
| "basic-theme.el"
| "." >>>>>>>>>>>>>> good
| "favorite-theme.el"
| "forest-theme.el")
`----
Is that a bug?
--
Thierry Volpiatto
- directory-files doesn't show "." and "..",
Thierry Volpiatto <=