Mercurial > emacs
changeset 3148:a4c37b95f19f
(dired-other-frame): New function, with binding.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Wed, 26 May 1993 22:52:13 +0000 |
parents | 539e7c93f8fa |
children | a4aaad84ad72 |
files | lisp/dired.el |
diffstat | 1 files changed, 7 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/dired.el Wed May 26 22:36:32 1993 +0000 +++ b/lisp/dired.el Wed May 26 22:52:13 1993 +0000 @@ -346,6 +346,13 @@ (interactive (dired-read-dir-and-switches "in other window ")) (switch-to-buffer-other-window (dired-noselect dirname switches))) +;;;###autoload (define-key ctl-x-5-map "d" 'dired-other-frame) +;;;###autoload +(defun dired-other-frame (dirname &optional switches) + "\"Edit\" directory DIRNAME. Like `dired' but makes a new frame." + (interactive (dired-read-dir-and-switches "in other frame ")) + (switch-to-buffer-other-frame (dired-noselect dirname switches))) + ;;;###autoload (defun dired-noselect (dir-or-list &optional switches) "Like `dired' but returns the dired buffer as value, does not select it."