bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#7546: 23.2; [dired] leading spaces in directory names


From: Chong Yidong
Subject: bug#7546: 23.2; [dired] leading spaces in directory names
Date: Sat, 04 Dec 2010 17:10:43 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Glenn Morris <rgm@gnu.org> writes:

> To me, it makes most sense to test what options ls actually supports:
>
> (with-temp-buffer
>  (call-process "ls" nil t nil "--help")
>  (and (re-search-backward "--dired" nil t) t))

It's better to check the exit code of `ls --dired'.  I've committed such
a fix to the trunk.





reply via email to

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