From: morioka Date: Sun, 25 Oct 1998 16:10:43 +0000 (+0000) Subject: (dired-other-frame): Use `defun-maybe'. X-Git-Tag: apel-9_6~20 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cb00cf5e52fd9030991ef8029fd0fa6e70343214;p=elisp%2Fapel.git (dired-other-frame): Use `defun-maybe'. --- diff --git a/poe-xemacs.el b/poe-xemacs.el index 326aa47..6fecb42 100644 --- a/poe-xemacs.el +++ b/poe-xemacs.el @@ -56,12 +56,11 @@ ;;; @ dired ;;; -(or (fboundp 'dired-other-frame) - (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))) - ) +(defun-maybe 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)) + ) ;;; @ to avoid bug of XEmacs 19.14