1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-01 11:14:55 +00:00

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

This commit is contained in:
Thien-Thi Nguyen 2006-02-07 10:08:23 +00:00
parent e1a67366be
commit 1b5053637e
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
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.

View File

@ -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)