Function: dired-from-menubar

dired-from-menubar is an autoloaded, interactive and byte-compiled function defined in dired.el.gz.

Signature

(dired-from-menubar DIRNAME &optional SWITCHES)

Documentation

Edit an existing directory.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/dired.el.gz
;; This lets clicks on the menu bar invoke Dired even if some feature
;; remaps the Dired command to another command that does not handle this
;; situation correctly (e.g. earlier versions of `dired-at-point-prompter').
;;;###autoload
(defun dired-from-menubar (dirname &optional switches)
  "Edit an existing directory."
  (interactive (dired-read-dir-and-switches ""))
  (dired dirname switches))