From: Thien-Thi Nguyen Date: Tue, 7 Feb 2006 10:08:23 +0000 (+0000) Subject: (wdired-get-filename): Fix bug: Don't re-normalize OLD. X-Git-Tag: emacs-pretest-22.0.90~4328 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1b5053637e5137830b58fdb451c3eb150bccaae8;p=emacs.git (wdired-get-filename): Fix bug: Don't re-normalize OLD. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 33dc6723ca0..5351b407ec5 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,7 @@ +2006-02-07 Chris Moore (tiny change) + + * wdired.el (wdired-get-filename): Fix bug: Don't re-normalize OLD. + 2006-02-07 Nick Roberts * progmodes/gud.el (gud-tooltip-mode): Remove autoload cookie. diff --git a/lisp/wdired.el b/lisp/wdired.el index 2d5ceb58855..062706ec7dc 100644 --- a/lisp/wdired.el +++ b/lisp/wdired.el @@ -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)