mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-02-04 20:27:45 +00:00
(dired-diff): Use `dired-dwim-target-directory'
if current dired buffer has no buffer mark.
This commit is contained in:
parent
7017c8174e
commit
4ae73f87a0
@ -14,6 +14,8 @@
|
||||
|
||||
* dired-aux.el (dired-touch-initial): New fun.
|
||||
(dired-do-chxxx): Call it for op-symbol `touch'.
|
||||
(dired-diff): Use `dired-dwim-target-directory'
|
||||
if current dired buffer has no buffer mark.
|
||||
|
||||
* bindings.el (propertized-buffer-identification):
|
||||
Replace `(:weight bold)' by `Buffer-menu-buffer-face'.
|
||||
|
@ -64,7 +64,10 @@ With prefix arg, prompt for second argument SWITCHES,
|
||||
(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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user