[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: dired commands/vars i can't find
From: |
Jean Louis |
Subject: |
Re: dired commands/vars i can't find |
Date: |
Thu, 12 Jan 2023 09:59:45 +0300 |
User-agent: |
Mutt/2.2.9+54 (af2080d) (2022-11-21) |
* Yuri Khan <yuri.v.khan@gmail.com> [2023-01-11 11:16]:
> On Wed, 11 Jan 2023 at 14:59, Jean Louis <bugs@gnu.support> wrote:
>
> > >1. suppose you run dired fro a file. i beierve there is a setting
> > >that will put point on that file's line insted of at top. whatis it?
> >
> > (defun rcd-dired-for-file ()
> > (interactive)
> > (let ((file (or (buffer-file-name)
> > default-directory)))
> > (dired-jump nil file)))
>
> I’m just using dired-jump. Most of the time, it does the right
> thing.
That is right, I did not know.
--
Jean
Take action in Free Software Foundation campaigns:
https://www.fsf.org/campaigns
In support of Richard M. Stallman
https://stallmansupport.org/