diff options
author | Thien-Thi Nguyen <ttn@gnuvola.org> | 2006-02-07 10:08:23 +0000 |
---|---|---|
committer | Thien-Thi Nguyen <ttn@gnuvola.org> | 2006-02-07 10:08:23 +0000 |
commit | 1b5053637e5137830b58fdb451c3eb150bccaae8 (patch) | |
tree | 36546b19ced6f406857b1e024072fe2a79b9b018 | |
parent | e1a67366be806369e37deb82749046b7c1b15109 (diff) | |
download | emacs-1b5053637e5137830b58fdb451c3eb150bccaae8.tar.gz |
(wdired-get-filename): Fix bug: Don't re-normalize OLD.
-rw-r--r-- | lisp/ChangeLog | 4 | ||||
-rw-r--r-- | lisp/wdired.el | 4 |
2 files changed, 6 insertions, 2 deletions
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 <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. 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) |