We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I would like to combine flyspell-region with writegood-mode, but writegood-mode does not provide a function to check a region of text.
flyspell-region
writegood-mode
This is what I came up with to work around the limitation:
(defun writegood-region (beginning end) "Check style between BEGINNING and END." (interactive "r") (narrow-to-region beginning end) (writegood-mode) (widen)) (defun prose-check-region (beginning end) "Check spelling and style between BEGINNING and END." (interactive "r") (when (use-region-p) (writegood-region beginning end) (flyspell-region beginning end) (setq deactivate-mark t)))
The problem is that writegood-mode remains enabled after the function writegood-region returns.
writegood-region
Any ideas?
Cross-posted: https://emacs.stackexchange.com/questions/64981/combine-flyspell-region-withwritegood-mode
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I would like to combine
flyspell-region
withwritegood-mode
, butwritegood-mode
does not provide a function to check a region of text.This is what I came up with to work around the limitation:
The problem is that
writegood-mode
remains enabled after the functionwritegood-region
returns.Any ideas?
Cross-posted: https://emacs.stackexchange.com/questions/64981/combine-flyspell-region-withwritegood-mode
The text was updated successfully, but these errors were encountered: