[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Respecting FIGNORE

From: Stefan Monnier
Subject: Re: Respecting FIGNORE
Date: Thu, 24 Feb 2011 12:02:23 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

> 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"

reply via email to

[Prev in Thread] Current Thread [Next in Thread]