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: Tim Johnson
Subject: Re: Directory name to variable (dired?)
Date: Mon, 8 Oct 2018 07:08:17 -0800
User-agent: Mutt/1.10.0 (2018-05-17)

* Drew Adams <drew.adams@oracle.com> [181007 17:59]:
> >   And I note that `default-directory is buffer local, so my variable
> >   assignment must be made while I am still in dired.
> 
> It is buffer-local, but it is available in any buffer.
  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?

  thanks again

-- 
Tim Johnson
http://www.tj49.com



reply via email to

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