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:
parent
e11094e681
commit
0d370700b2
1 changed files with 2 additions and 2 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue