if current dired buffer has no buffer mark.
* 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'.
(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)