* Respecting FIGNORE
@ 2011-02-24 8:10 Gary
0 siblings, 0 replies; 2+ messages in thread
From: Gary @ 2011-02-24 8:10 UTC (permalink / raw)
To: help-gnu-emacs
Is there any way to configure emacs so that the completion for find-file,
find-file-at-point, and others respect the FIGNORE environment variable,
and so ignore "undesired" files?
--
Gary Please do NOT send me 'courtesy' replies off-list.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Respecting FIGNORE
[not found] <mailman.0.1298537225.21381.help-gnu-emacs@gnu.org>
@ 2011-02-24 17:02 ` Stefan Monnier
0 siblings, 0 replies; 2+ messages in thread
From: Stefan Monnier @ 2011-02-24 17:02 UTC (permalink / raw)
To: help-gnu-emacs
> Is there any way to configure Emacs so that the completion for find-file,
> find-file-at-point, and others respect the FIGNORE environment variable,
> and so ignore "undesired" files?
You can do something like
(dolist (ext (split-string (getenv "FIGNORE") ":"))
(add-to-list 'completion-ignored-extensions ext))
-- Stefan "guaranteed untested"
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-02-24 17:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-24 8:10 Respecting FIGNORE Gary
[not found] <mailman.0.1298537225.21381.help-gnu-emacs@gnu.org>
2011-02-24 17:02 ` Stefan Monnier
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.