emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[nongnu] elpa/subed 545f170170 4/5: Show directories when doing subed-wo


From: ELPA Syncer
Subject: [nongnu] elpa/subed 545f170170 4/5: Show directories when doing subed-word-data-load-from-file
Date: Fri, 13 Dec 2024 10:02:36 -0500 (EST)

branch: elpa/subed
commit 545f1701706df76ce408aa480b6eaaafe0a98afe
Author: Sacha Chua <sacha@sachachua.com>
Commit: Sacha Chua <sacha@sachachua.com>

    Show directories when doing subed-word-data-load-from-file
---
 subed/subed-word-data.el | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/subed/subed-word-data.el b/subed/subed-word-data.el
index 2bb7f958cc..1d8dc52952 100644
--- a/subed/subed-word-data.el
+++ b/subed/subed-word-data.el
@@ -128,10 +128,9 @@ For now, only SRV2 and JSON files are supported."
                                      nil
                                      nil
                                      (lambda (f)
-                                       (or (file-directory-p f)
-                                           (string-match
-                                            "\\.json\\'\\|\\.srv2\\'"
-                                            f))))))
+                                       (string-match
+                                        "\\.json\\'\\|\\.srv2\\'"
+                                        f)))))
   (subed-word-data--load
    (if (and (stringp file) (string-match "\\.json\\'" file))
        (subed-word-data--extract-words-from-whisperx-json file)



reply via email to

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