Mercurial > emacs
changeset 68671:398abcca03ea
(wdired-get-filename): Fix bug: Don't re-normalize OLD.
author | Thien-Thi Nguyen <ttn@gnuvola.org> |
---|---|
date | Tue, 07 Feb 2006 10:06:02 +0000 |
parents | 7559e2581420 |
children | c5fd7884c28b |
files | lisp/wdired.el |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/wdired.el Tue Feb 07 09:22:56 2006 +0000 +++ b/lisp/wdired.el Tue Feb 07 10:06:02 2006 +0000 @@ -323,8 +323,8 @@ (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)