Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change: (elisp-checkdoc-file) Respect .dir-local ispell LocalWords #39

Conversation

josephmturner
Copy link
Contributor

This commit makes it possible to define a directory-wide list of words that checkdoc's spellcheck should ignore.

A more general solution that allows users to mark dir-local/file-local variables as safe may be desired.

This commit makes it possible to define a directory-wide list of words
that checkdoc's spellcheck should ignore.

A more general solution that allows users to mark dir-local/file-local
variables as safe may be desired.
@josephmturner josephmturner force-pushed the wip/dir-local-ispell-buffer-session-localwords branch from 08add40 to fd15f09 Compare August 11, 2023 18:44
@josephmturner
Copy link
Contributor Author

The trick was that the variable has to be marked as safe before calling checkdoc-file, since it ends up applying local variables anyway.

This was referenced Aug 14, 2023
@alphapapa alphapapa self-assigned this Aug 14, 2023
@alphapapa alphapapa added the enhancement New feature or request label Aug 14, 2023
@alphapapa alphapapa merged commit 4bdfd81 into alphapapa:master Aug 14, 2023
@josephmturner josephmturner deleted the wip/dir-local-ispell-buffer-session-localwords branch August 14, 2023 20:46
@alphapapa
Copy link
Owner

Thank you!

@alphapapa
Copy link
Owner

For future reference, making a similar change in Emacs itself is being discussed at https://lists.gnu.org/archive/html/emacs-devel/2023-08/msg00521.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants