Revert to old 23.1 logic of using the file at the mark as default.
authorJuri Linkov <juri@jurta.org>
Wed, 16 Dec 2009 09:52:42 +0000 (09:52 +0000)
committerJuri Linkov <juri@jurta.org>
Wed, 16 Dec 2009 09:52:42 +0000 (09:52 +0000)
commit72b57560300f433795ef02115b7085e5699cea03
treef4d88c9632d65d9c69d06cf011e58f2a79069c55
parent7eeb56addbec7cd5dd9226b5a7f4710f7e8c39b1
Revert to old 23.1 logic of using the file at the mark as default.
* dired-aux.el (dired-diff): Use the file at the mark as default
if it's not the same as the current file, and the target dir is
the current dir or the mark is active.  Add the current file
as the arg of `dired-dwim-target-defaults'.  Use the default file
in the prompt.  (Bug#5225)
lisp/ChangeLog
lisp/dired-aux.el