emacs-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] Dired: with prefix argument, open file in new window; and qu


From: Stefan Monnier
Subject: Re: [PATCH] Dired: with prefix argument, open file in new window; and question about lexical scope
Date: Tue, 20 Jan 2015 12:28:06 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

> I also have a question about lexical scoping: dired.el is marked as
> lexically scoped, but you can see that it tries to pass
> `find-file-run-dired' as true to `find-file' dynamically. That has no effect
> on `find-file', right?

find-file-run-dired is declared with `defcustom' which, like defvar,
declares it as a dynamically scoped variable, so yes it does have an
effect on `find-file'.


        Stefan



reply via email to

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