[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: How make Dired automatically load file if you input a file path?
From: |
Drew Adams |
Subject: |
RE: How make Dired automatically load file if you input a file path? |
Date: |
Mon, 15 Dec 2008 14:07:08 -0800 |
> Dired initially asks you for a directory path.
> If you give it a file path you will see a listing
> with just that one file.
>
> How make Dired *AUTOMATICALLY* load that file if you initially gave it
> a file path instead of a directory path?
> e.g. /etc/fstab instead of /etc
Use `find-file' (`C-x C-f'), not `dired' (`C-x d').
C-x C-f /etc opens Dired on /etc
C-x C-f /etc/fstab visits file fstab