emacs-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] ls-lisp.el ls-lisp-insert-directory fix empty dir bug


From: Eli Zaretskii
Subject: Re: [PATCH] ls-lisp.el ls-lisp-insert-directory fix empty dir bug
Date: Sat, 27 Apr 2013 15:58:05 +0300

> From: Ingo Lohmar <address@hidden>
> Date: Sat, 27 Apr 2013 12:31:56 +0000 (UTC)
> 
> I noticed a bug with ls-lisp's insert-directory when the list of files is
> empty.  Since point is at the beginning of the buffer before inserting the
> total-line, save-excursion does not work like it does when there are files
> (ie, buffer content) already: point afterwards is still before the text,
> and dired-insert-directory does not correctly indent the content then.
> 
> Below is a one-line patch (so no FSF assignment necessary, which is still
> on my TODOs...) to correct this whenever the list of files was empty.  I
> do not use the repository but a recent snapshot, apologies for any necessary
> reformatting.  HTH.

Thanks.

Can you show a simple recipe for reproducing the problem?



reply via email to

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