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: Jean Louis
Subject: Re: dired commands/vars i can't find
Date: Wed, 11 Jan 2023 10:57:15 +0300
User-agent: K-9 Mail for Android

On January 11, 2023 8:58:11 AM GMT+03:00, Samuel Wales <samologist@gmail.com> 
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)))





Jean



reply via email to

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