|
From: | Tino Calancha |
Subject: | bug#27496: 26.0.50; dired-do-shell-command just checks the first wildcard |
Date: | Sun, 02 Jul 2017 22:13:34 +0900 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) |
Tino Calancha <tino.calancha@gmail.com> writes: > emacs -Q: > ;; Evaluate following form. > (let ((foo (make-temp-file "foo" 'dir)) > (bar (make-temp-file "bar" 'dir))) > (dired foo) > (dired-up-directory) > (revert-buffer) > (dired-do-shell-command > (format "cp -r ? %s/?" bar) nil (dired-get-marked-files t nil))) > > ;; Should ask confirmation because "/?". > > If we change the last line to: > (format "cp -r ./? %s/?" bar) nil (dired-get-marked-files t nil))) > then it asks confirmation because "./?". Fixed in master branch as commit 6e39940adba7b96dfe520caa52a1b92a1a84a84f
[Prev in Thread] | Current Thread | [Next in Thread] |