[Top][All Lists]

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

Re: dired mode or norton commander

From: bcochofel
Subject: Re: dired mode or norton commander
Date: 7 Dec 2006 04:27:52 -0800
User-agent: G2/1.0

Well, I've tried:
 (defun dired-follow-file ()
  (let ((filename (dired-get-filename)))
    (if (file-directory-p filename)
        (find-alternate-file filename)

(defun dired-setup-follow-file ()
   'dired-find-file 'dired-follow-file dired-mode-map)
   'dired-advertised-find-file 'dired-follow-file dired-mode-map))

(add-hook 'dired-mode-hook 'dired-setup-follow-file)

But I cannot change to dirs '.' and '..', I get:

"Cannot operate on '.' or '..'

Using the "a" key I get a message asking if I want to use in all
sessions this options and I answer yes... No good...

reply via email to

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