1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-04-27 16:51:06 -07:00

* dired-aux.el (dired-diff): Work even when the mark is inactive.

This commit is contained in:
Jim Blandy 1993-07-02 00:15:07 +00:00
parent e11094e681
commit 0d370700b2

View file

@ -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)