emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 23.0.50; Deleting files in wdired does not work


From: martin rudalics
Subject: Re: 23.0.50; Deleting files in wdired does not work
Date: Sat, 26 Jan 2008 18:27:42 +0100
User-agent: Mozilla Thunderbird 1.0 (Windows/20041206)

After re-reading your previous diagnosis, I think there is a shorter
fix. Searching for 'end-name starting from beg instead of (1+ beg)
finds the end of filename correctly whether the filename is empty or
not.

Once wdired-get-filename is fixed, wdired-finish-edit actually needs
no changes, because (wdired-get-filename) does return nil when the
filename is empty.

        * wdired.el (wdired-get-filename): Change `(1+ beg)' to `beg' so
        that the filename end is found even when the filename is empty.
        Fixes error and spurious newlines when marking files for deletion.

Checked into Emacs 22 branch and the trunk.  Thanks again.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]