branch: externals/matlab-mode
commit cd5d401922165b9aab356ede42a40593a2c0419e
Author: John Ciolfi <[email protected]>
Commit: John Ciolfi <[email protected]>

    t-utils.el: t-utils-get-files, skip hidden files of form .#file.lang
---
 tests/t-utils.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/tests/t-utils.el b/tests/t-utils.el
index d6e4efc461..26010c86e5 100644
--- a/tests/t-utils.el
+++ b/tests/t-utils.el
@@ -226,7 +226,9 @@ skipping all *_expected.lang files."
                                            (replace-regexp-in-string "^" "    "
                                                                      
(buffer-string))))))
                 (message "%s:1: warning: skipping this test input because %s 
exists\n%s"
-                         file skip-file skip-file-contents))
+                         file skip-file skip-file-contents)))
+          ;; Not skipped. Note we ignore hidden link files, e.g. .#foo.lang
+          (when (not (string-match-p "\\`\\.#" file))
             (push file files-not-skipped))))
 
       ;; Sorted result

Reply via email to