Skip to content

Remove issues with byte compiling test files and their resources - #1102

Merged
matsl merged 1 commit into
masterfrom
pr_remove_byte-compile_issues_for_tests_and_resources
Nov 18, 2026
Merged

matsl merged 1 commit into
masterfrom
pr_remove_byte-compile_issues_for_tests_and_resources

Conversation

@matsl

@matsl matsl commented Nov 18, 2026 •

Copy link
Copy Markdown
Collaborator

What

Package managers byte compile el-files in subfolders. Errors and
warnings there will confuse users there are problems. This fixes the
current issues.

  • test/hywiki-yki-tests.el: Uses el-mock so should not be byte-compiled.

  • test/hy-string-tests.el (debug-in-string): Remove unused var len and
    extra values in format previously moved into vars.

  • test/hmouse-drv-resources/test-data.el:
    test/hibtypes-resources/test-data.el: Enable lexical binding.

Why

When installing Hyperbole warnings and errors when byte compiling test
files and resources confuses users. This silences the current issues.

Package managers byte compile el-files in subfolders. Errors and
warnings there will confuse users there are problems. This fixes the
current issues.

* test/hywiki-yki-tests.el: Uses el-mock so should not be byte-compiled.

* test/hy-string-tests.el (debug-in-string): Remove unused var len and
extra values in format previously moved into vars.

* test/hmouse-drv-resources/test-data.el:
* test/hibtypes-resources/test-data.el: Enable lexical binding.
@matsl matsl self-assigned this Nov 18, 2026
@matsl
matsl requested a review from rswgnu November 18, 2026 12:56
@matsl
matsl merged commit 34bd525 into master Nov 18, 2026
5 checks passed
@matsl
matsl deleted the pr_remove_byte-compile_issues_for_tests_and_resources branch November 18, 2026 20:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants