Albert Reiner <[EMAIL PROTECTED]> writes: > Hi, > > I am looking for some way to make completion when using find-file > ignore any directory named _darcs; i.e., if I have a directory > structure > > foo/ > _darcs/ > ... > bar/ > ... > > then `M-x find-file f o o / TAB' should complete to `foo/bar/'. > > From the documentation I thought that > > (add-to-list 'completion-ignored-extensions "_darcs") > > should do what I want, but that does not seem to be the case. > > Any help would be appreciated. > > Albert.
The docs for completion-ignored-extensions say: ...Directories are ignored if they match any string in this list which ends in a slash... And your "_darcs" doesn't end in a slash... Dave _______________________________________________ Help-gnu-emacs mailing list Help-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnu-emacs