Is there a way to do ignore whole file names the same way as 'completion-ignored-extensions' ignores filename extensions?
For example, I would like to blacklist
__pycache__/, so that if the default directory contains
__pycache__/ (and these two are the only files whose names start with underscore), I can do
C-x C-f _ TAB and get right to
__init__.py as the only choice, without Emacs offering me
__pycache__/ after me hitting
TAB once more to reveal the second underscore. Is this possible?