Skip to content

Set before-save-hook to a list - #1051

Merged
matsl merged 1 commit into
masterfrom
pr_fix_dir-locals_hook_setting
Sep 9, 2026
Merged

matsl merged 1 commit into
masterfrom
pr_fix_dir-locals_hook_setting

Conversation

@matsl

@matsl matsl commented Sep 9, 2026

Copy link
Copy Markdown
Collaborator

What

Set before-save-hook to a list.

  • man/.dir-locals.el: Set before-save-hook to a list.

Why

Emacs 32.1 checks the variables declared type for file- and
directory-local variables. Since a hook's declared type is a list we
need to give it a list.

Emacs 32.1 checks the variables declared type for file- and
directory-local variables. Since a hook's declared type is a list we
need to give it a list.

* man/.dir-locals.el: Set before-save-hook to a list.
@matsl
matsl requested a review from rswgnu September 9, 2026 20:48
@matsl
matsl merged commit ea68374 into master Sep 9, 2026
6 checks passed
@matsl
matsl deleted the pr_fix_dir-locals_hook_setting branch September 9, 2026 22:32
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