]> git.eshelyaron.com Git - emacs.git/commit
Fix placement of point in Dired deletion operations
authorStephen Berman <stephen.berman@gmx.net>
Fri, 4 Jun 2021 10:01:41 +0000 (12:01 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Fri, 4 Jun 2021 10:01:41 +0000 (12:01 +0200)
commit194d54a929a83fede75d618b104acd1b544feb10
tree5d4e880a27d69721d61e3f35d1c5cfaecc229cd6
parent9136c064d66a1d4ea69472ffe25662a8874f7ba6
Fix placement of point in Dired deletion operations

* lisp/dired.el (dired-do-flagged-delete, dired-do-delete): Use
point-marker instead of point to record each file name position.
Clean up the markers before returning.
(dired-internal-do-deletions): Move to the file name marker, and
then move point to the file name to visually emphasize which file
is being operated on (bug#48805).
lisp/dired.el