mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-26 07:33:47 +00:00
(wdired-search-and-rename): Fix undocumented change.
This commit is contained in:
parent
0d00764ae5
commit
390b0feef5
@ -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…
Reference in New Issue
Block a user