[Top][All Lists]

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

[elpa] master d64b268 074/399: counsel.el (counsel-compile): counsel--ge

From: Oleh Krehel
Subject: [elpa] master d64b268 074/399: counsel.el (counsel-compile): counsel--get-build-subdirs
Date: Sat, 20 Jul 2019 14:56:52 -0400 (EDT)

branch: master
commit d64b26849bcacd5533beef46985bb23e6e3b3ef2
Author: Alex Bennée <address@hidden>
Commit: Oleh Krehel <address@hidden>

    counsel.el (counsel-compile): counsel--get-build-subdirs
    Ensure commentary matches reality.
 counsel.el | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/counsel.el b/counsel.el
index 75b670d..aae7393 100644
--- a/counsel.el
+++ b/counsel.el
@@ -5222,11 +5222,10 @@ subdirectories that builds may be invoked in."
 (defun counsel--get-build-subdirs (blddir)
-  "Return all subdirs of BLDDIR sorted by access time."
+  "Return all subdirs of BLDDIR sorted by modification time."
   (mapcar #'car (sort (directory-files-and-attributes
                        blddir t directory-files-no-dot-files-regexp t)
                       (lambda (x y)
-                        ;; FIXME: Access time is NOT the 7th file attribute.
                         (time-less-p (nth 6 y) (nth 6 x))))))
 (defun counsel-compile-get-build-directories (&optional dir)

reply via email to

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