diff --git a/lisp/dired-x.el b/lisp/dired-x.el index 398f55f2a24..b7824fa81bd 100644 --- a/lisp/dired-x.el +++ b/lisp/dired-x.el @@ -491,7 +491,11 @@ status message." (setq count (+ count (dired-do-kill-lines nil - (if dired-omit-verbose "Omitted %d line%s" "") + (if dired-omit-verbose + (format "Omitted %%d line%%s in %s" + (abbreviate-file-name + dired-directory)) + "") init-count))) (force-mode-line-update)))) ;; Try to preserve modified state, so `%*' doesn't appear in