(dired-other-frame): Use `defun-maybe'.
authormorioka <morioka>
Sun, 25 Oct 1998 16:10:43 +0000 (16:10 +0000)
committermorioka <morioka>
Sun, 25 Oct 1998 16:10:43 +0000 (16:10 +0000)
poe-xemacs.el

index 326aa47..6fecb42 100644 (file)
 ;;; @ 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