Commit 1b505363 authored by Thien-Thi Nguyen's avatar Thien-Thi Nguyen
Browse files

(wdired-get-filename): Fix bug: Don't re-normalize OLD.

parent e1a67366
2006-02-07 Chris Moore <christopher.ian.moore@gmail.com> (tiny change)
* wdired.el (wdired-get-filename): Fix bug: Don't re-normalize OLD.
2006-02-07 Nick Roberts <nickrob@snap.net.nz>
 
* progmodes/gud.el (gud-tooltip-mode): Remove autoload cookie.
......
......@@ -323,8 +323,8 @@ non-nil means return old filename."
(if old
(setq file (get-text-property beg 'old-name))
(setq end (next-single-property-change (1+ beg) 'end-name))
(setq file (buffer-substring-no-properties (+ 2 beg) end)))
(and file (setq file (wdired-normalize-filename file))))
(setq file (buffer-substring-no-properties (+ 2 beg) end))
(and file (setq file (wdired-normalize-filename file)))))
(if (or no-dir old)
file
(and file (> (length file) 0)
......
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