Emacs 26.1, Dired+

  1. Open some folder in dired mode. enter image description here

  2. Split buffer by M-4 (split-window-vertically)

enter image description here

  1. Now I want to open src folder but only in TOP WINDOW. The bottom window must not be change. I press Enter in top window. But folder src open in BOTH windows - top and bottom.

enter image description here

  • 2
    That's not default dired behaviour, and from a quick test it's also not default dired+ behviour; so this is presumably your own custom config at fault, so you should start by looking at that. However, what is RET (Enter) actually bound to?
    – phils
    Apr 19, 2020 at 13:24
  • What @phils said. Please provide a recipe that starts with emacs -Q (no init file).
    – Drew
    Apr 19, 2020 at 19:24
  • 1
    General rule: If the problem arises only when your init file is loaded then bisect your init file to find the culprit. But see also @phils's last comment.
    – Drew
    Apr 20, 2020 at 15:04
  • 1
    In that case, please either (1) delete your question or (2) if you think the question and your comment answer might help others, add your answer.
    – Drew
    Apr 28, 2020 at 17:32
  • 4
    I’m voting to close this question because I don't think it's likely to help any future readers.
    – phils
    Feb 18, 2022 at 4:44

1 Answer 1


I had this settings

(with-eval-after-load "dired" (define-key dired-mode-map (kbd "RET") 'dired-find-alternate-file))

So I removed it and the problem is gone.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.