aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2005-05-15 21:34:47 +0000
committerRichard M. Stallman2005-05-15 21:34:47 +0000
commitc232fd12ab92e3a73b3d9b222540aefb9f4589a2 (patch)
treef81b5fa28b30cc41655f14711c00332bc9b6b08b
parent09b092ad34087702db39e663dac6354a0718bf08 (diff)
downloademacs-c232fd12ab92e3a73b3d9b222540aefb9f4589a2.tar.gz
emacs-c232fd12ab92e3a73b3d9b222540aefb9f4589a2.zip
(dired-mark-confirm):
Pass t to dired-get-marked-files for DISTINGUISH-ONE-MARKED.
-rw-r--r--lisp/dired-aux.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/dired-aux.el b/lisp/dired-aux.el
index 9a1449823ca..0ce006af241 100644
--- a/lisp/dired-aux.el
+++ b/lisp/dired-aux.el
@@ -760,7 +760,10 @@ Otherwise, the rule is a compression rule, and compression is done with gzip.")
760 ;; The files used are determined by ARG (as in dired-get-marked-files). 760 ;; The files used are determined by ARG (as in dired-get-marked-files).
761 (or (eq dired-no-confirm t) 761 (or (eq dired-no-confirm t)
762 (memq op-symbol dired-no-confirm) 762 (memq op-symbol dired-no-confirm)
763 (let ((files (dired-get-marked-files t arg)) 763 ;; Pass t for DISTINGUISH-ONE-MARKED so that a single file which
764 ;; is marked pops up a window. That will help the user see
765 ;; it isn't the current line file.
766 (let ((files (dired-get-marked-files t arg nil t))
764 (string (if (eq op-symbol 'compress) "Compress or uncompress" 767 (string (if (eq op-symbol 'compress) "Compress or uncompress"
765 (capitalize (symbol-name op-symbol))))) 768 (capitalize (symbol-name op-symbol)))))
766 (dired-mark-pop-up nil op-symbol files (function y-or-n-p) 769 (dired-mark-pop-up nil op-symbol files (function y-or-n-p)