help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Directory name to variable (dired?)


From: Stefan Monnier
Subject: Re: Directory name to variable (dired?)
Date: Mon, 08 Oct 2018 16:12:27 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

>   Is there a more idiomatic way to do so?

(derived-mode-p 'dired-mode) is the official way to do that.


        Stefan




reply via email to

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