projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
16793dc
)
Move point in dired buffers when handling a list of files
author
Lars Ingebrigtsen
<larsi@gnus.org>
Wed, 2 Jun 2021 08:13:58 +0000
(10:13 +0200)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Wed, 2 Jun 2021 08:13:58 +0000
(10:13 +0200)
* lisp/dired-aux.el (dired-create-files): Advance point to the
current file (bug#8015).
lisp/dired-aux.el
patch
|
blob
|
history
diff --git
a/lisp/dired-aux.el
b/lisp/dired-aux.el
index a1dda3f5a20350a30bbdbea5a591c6c6eab64c96..3a721cd4d9d28c18bf7ce9eaa5dd5238984f6cf5 100644
(file)
--- a/
lisp/dired-aux.el
+++ b/
lisp/dired-aux.el
@@
-1963,6
+1963,9
@@
or with the current marker character if MARKER-CHAR is t."
(let (to overwrite-query
overwrite-backup-query) ; for dired-handle-overwrite
(dolist (from fn-list)
+ ;; Position point on the current file -- this is useful if
+ ;; handling a number of files to show where we're working at.
+ (dired-goto-file from)
(setq to (funcall name-constructor from))
(if (equal to from)
(progn