mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-30 04:10:54 -08:00
(wdired-search-and-rename): Fix undocumented change.
This commit is contained in:
parent
0d00764ae5
commit
390b0feef5
2 changed files with 5 additions and 2 deletions
|
|
@ -1,3 +1,7 @@
|
|||
2008-06-15 Andreas Schwab <schwab@suse.de>
|
||||
|
||||
* wdired.el (wdired-search-and-rename): Fix undocumented change.
|
||||
|
||||
2008-06-15 Ulf Jasper <ulf@web.de>
|
||||
|
||||
* net/newst-plainview.el (newsticker-faces, newsticker-feed-face)
|
||||
|
|
|
|||
|
|
@ -503,12 +503,11 @@ and proceed depending on the answer."
|
|||
(setq curr-filename (wdired-get-filename nil t))
|
||||
(if (equal curr-filename filename-ori)
|
||||
(progn
|
||||
(setq exit-while t)
|
||||
(setq done t)
|
||||
(let ((inhibit-read-only t))
|
||||
(dired-move-to-filename)
|
||||
(search-forward (wdired-get-filename t) nil t)
|
||||
(replace-match (file-name-nondirectory filename-ori) t t))
|
||||
(setq done)
|
||||
(dired-do-create-files-regexp
|
||||
(function dired-rename-file)
|
||||
"Move" 1 ".*" filename-new nil t))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue