diff lisp/dired-aux.el @ 55284:997b45b51728

(dired-diff): Use `dired-dwim-target-directory' if current dired buffer has no buffer mark.
author Juri Linkov <juri@jurta.org>
date Sat, 01 May 2004 05:35:34 +0000
parents 33be1cf542ec
children e32286a7346d
line wrap: on
line diff
--- a/lisp/dired-aux.el	Sat May 01 05:02:57 2004 +0000
+++ b/lisp/dired-aux.el	Sat May 01 05:35:34 2004 +0000
@@ -64,7 +64,10 @@
 				   (if default
 				       (concat "(default " default ") ")
 				     ""))
-			   (dired-current-directory) default t)
+			   (if default
+			       (dired-current-directory)
+			     (dired-dwim-target-directory))
+			   default t)
 	   (if current-prefix-arg
 	       (read-string "Options for diff: "
 			    (if (stringp diff-switches)