[Top][All Lists]

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

Re: incorrect code in dired-insert-directory

From: Eli Zaretskii
Subject: Re: incorrect code in dired-insert-directory
Date: Fri, 29 Feb 2008 13:01:34 +0200

> From: "Drew Adams" <drew.adams@oracle.com>
> Date: Thu, 28 Feb 2008 23:08:52 -0800
> To reproduce (on Windows):
> emacs -Q
> Load the source file files.el.
> C-u C-x 4 d 
> Use switches -lR, and enter some directory name.
> The first directory name in the buffer appears twice (the others are OK).
> Note: The problem does not seem to arise if you don't load the source file,
> for some reason.

If you load files.el in the MS-Windows port, make sure you load
ls-lisp.el right after that.  That's because ls-lisp.el overloads the
standard version of insert-directory, defined by files.el, so loading
files.el reverts you to the original version of insert-directory,
which doesn't DTRT on Windows.

Could it be that the whole problem does not exist if you load
ls-lisp.el after files.el?

reply via email to

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