[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Directory name to variable (dired?)
From: |
Drew Adams |
Subject: |
RE: Directory name to variable (dired?) |
Date: |
Mon, 8 Oct 2018 15:56:28 +0000 (UTC) |
> > To determine if a buffer is a dired buffer, it seems that I can
> > verify that by evaluating `dired-omit-mode
> >
> > Is there a more idiomatic way to do so?
> Duh! Asked and answered: Probably
> something like (eq (major-mode) "dired-mode") ;; untested
> thanks to everyone, good thread
Use `derived-mode-p', rather than test for equality.
- Directory name to variable (dired?), Tim Johnson, 2018/10/07
- RE: Directory name to variable (dired?), Drew Adams, 2018/10/07
- Re: Directory name to variable (dired?), Tim Johnson, 2018/10/07
- RE: Directory name to variable (dired?), Drew Adams, 2018/10/07
- Re: Directory name to variable (dired?), Tim Johnson, 2018/10/07
- RE: Directory name to variable (dired?), Drew Adams, 2018/10/07
- Re: Directory name to variable (dired?), Tim Johnson, 2018/10/08
- Re: Directory name to variable (dired?), Tim Johnson, 2018/10/08
- Re: Directory name to variable (dired?), Noam Postavsky, 2018/10/08
- RE: Directory name to variable (dired?),
Drew Adams <=
- Re: Directory name to variable (dired?), Stefan Monnier, 2018/10/08
- Re: Directory name to variable (dired?), Tim Johnson, 2018/10/08
Re: Directory name to variable (dired?), Noam Postavsky, 2018/10/07