[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/sly ab90d7dd53 2/7: Unbreak define-sly-ert-test when used
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/sly ab90d7dd53 2/7: Unbreak define-sly-ert-test when used M-x compile-defun |
Date: |
Tue, 25 Apr 2023 18:01:37 -0400 (EDT) |
branch: elpa/sly
commit ab90d7dd531a5276cddde4eb4b7c8ee9477079d0
Author: João Távora <joaotavora@gmail.com>
Commit: João Távora <joaotavora@gmail.com>
Unbreak define-sly-ert-test when used M-x compile-defun
* lib/sly-tests.el (sly-tests-auto-tags): Protect against
file-less compilation.
---
lib/sly-tests.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/sly-tests.el b/lib/sly-tests.el
index 5167794ab6..a6304864b4 100644
--- a/lib/sly-tests.el
+++ b/lib/sly-tests.el
@@ -91,7 +91,7 @@ Exits Emacs when finished. The exit code is the number of
failed tests."
(append '(sly)
(let ((file-name (or load-file-name
byte-compile-current-file)))
- (if (and file-name
+ (if (and (stringp file-name)
(string-match "test/sly-\\(.*\\)\.elc?$" file-name))
(list 'contrib (intern (match-string 1 file-name)))
'(core)))))
- [nongnu] elpa/sly updated (07454d5e9c -> fa3bcf0237), ELPA Syncer, 2023/04/25
- [nongnu] elpa/sly fa3bcf0237 7/7: Don't accidentally concatenate symbols in sly-package-fu--insert-symbol, ELPA Syncer, 2023/04/25
- [nongnu] elpa/sly ab90d7dd53 2/7: Unbreak define-sly-ert-test when used M-x compile-defun,
ELPA Syncer <=
- [nongnu] elpa/sly 8c7783b729 1/7: Enhance top-level .dir-locals.el, ELPA Syncer, 2023/04/25
- [nongnu] elpa/sly d135442981 5/7: Fix #560: Correctly find :IMPORT-FROM for packages with `.` in name, ELPA Syncer, 2023/04/25
- [nongnu] elpa/sly 6e477e0a53 6/7: Improve form-parsing heuristics of 'sly-import-symbol-at-point', ELPA Syncer, 2023/04/25
- [nongnu] elpa/sly 8b79511b92 3/7: Per #560: Add basic tests for contrib/sly-package-fu.el, ELPA Syncer, 2023/04/25
- [nongnu] elpa/sly 845aac1063 4/7: Per #560: Adjust new tests for sly-package-fu.el, ELPA Syncer, 2023/04/25