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

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

Re: dired commands/vars i can't find


From: Yuri Khan
Subject: Re: dired commands/vars i can't find
Date: Wed, 11 Jan 2023 15:15:37 +0700

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.



reply via email to

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