summaryrefslogtreecommitdiff
path: root/lisp/wdired.el
diff options
context:
space:
mode:
authorThien-Thi Nguyen <ttn@gnuvola.org>2006-02-07 10:08:23 +0000
committerThien-Thi Nguyen <ttn@gnuvola.org>2006-02-07 10:08:23 +0000
commit1b5053637e5137830b58fdb451c3eb150bccaae8 (patch)
tree36546b19ced6f406857b1e024072fe2a79b9b018 /lisp/wdired.el
parente1a67366be806369e37deb82749046b7c1b15109 (diff)
downloademacs-1b5053637e5137830b58fdb451c3eb150bccaae8.tar.gz
(wdired-get-filename): Fix bug: Don't re-normalize OLD.
Diffstat (limited to 'lisp/wdired.el')
-rw-r--r--lisp/wdired.el4
1 files changed, 2 insertions, 2 deletions
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)