Commit 390b0fee authored by Andreas Schwab's avatar Andreas Schwab
Browse files

(wdired-search-and-rename): Fix undocumented change.

parent 0d00764a
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))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment