diff options
| -rw-r--r-- | lisp/dired.el | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lisp/dired.el b/lisp/dired.el index 9b1ca12aebc..4f431c703db 100644 --- a/lisp/dired.el +++ b/lisp/dired.el | |||
| @@ -346,6 +346,13 @@ If DIRNAME is already in a dired buffer, that buffer is used without refresh." | |||
| 346 | (interactive (dired-read-dir-and-switches "in other window ")) | 346 | (interactive (dired-read-dir-and-switches "in other window ")) |
| 347 | (switch-to-buffer-other-window (dired-noselect dirname switches))) | 347 | (switch-to-buffer-other-window (dired-noselect dirname switches))) |
| 348 | 348 | ||
| 349 | ;;;###autoload (define-key ctl-x-5-map "d" 'dired-other-frame) | ||
| 350 | ;;;###autoload | ||
| 351 | (defun dired-other-frame (dirname &optional switches) | ||
| 352 | "\"Edit\" directory DIRNAME. Like `dired' but makes a new frame." | ||
| 353 | (interactive (dired-read-dir-and-switches "in other frame ")) | ||
| 354 | (switch-to-buffer-other-frame (dired-noselect dirname switches))) | ||
| 355 | |||
| 349 | ;;;###autoload | 356 | ;;;###autoload |
| 350 | (defun dired-noselect (dir-or-list &optional switches) | 357 | (defun dired-noselect (dir-or-list &optional switches) |
| 351 | "Like `dired' but returns the dired buffer as value, does not select it." | 358 | "Like `dired' but returns the dired buffer as value, does not select it." |