From: Jim Blandy Date: Fri, 2 Jul 1993 00:15:07 +0000 (+0000) Subject: * dired-aux.el (dired-diff): Work even when the mark is inactive. X-Git-Tag: emacs-19.34~11901 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0d370700b250e434eb3389c3e8c301ebf82a8aab;p=emacs.git * dired-aux.el (dired-diff): Work even when the mark is inactive. --- diff --git a/lisp/dired-aux.el b/lisp/dired-aux.el index 16b28fc4e1e..e83bb0fd5e6 100644 --- a/lisp/dired-aux.el +++ b/lisp/dired-aux.el @@ -45,8 +45,8 @@ FILE defaults to the file at the mark. The prompted-for file is the first file given to `diff'." (interactive - (let ((default (if (mark) - (save-excursion (goto-char (mark)) + (let ((default (if (mark t) + (save-excursion (goto-char (mark t)) (dired-get-filename t t))))) (list (read-file-name (format "Diff %s with: %s" (dired-get-filename t)