branch: externals/jinx
commit f85d7e9ac8e07f2a5507b0b078dae011e7abeedd
Author: Daniel Mendler <m...@daniel-mendler.de>
Commit: Daniel Mendler <m...@daniel-mendler.de>

    Expose (jinx-correct-all t) via C-u C-u C-u M-x jinx-correct
---
 jinx.el | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/jinx.el b/jinx.el
index c33d5ceb7c..ecb720b2fe 100644
--- a/jinx.el
+++ b/jinx.el
@@ -1022,11 +1022,15 @@ This command dispatches to the following commands:
     is 4, corresponding to \\[universal-argument] pressed once,
     correct all misspelled words.
   - `jinx-correct-word': If prefix ARG is 16, corresponding to
-    \\[universal-argument] pressed twice, correct word before point."
+    \\[universal-argument] pressed twice, correct word before point.
+  - If prefix ARG is 64, corresponding to \\[universal-argument] pressed
+    three times, check the whole buffer, but do not open the correction
+    UI."
   (interactive "*P")
   (pcase arg
     ('nil (if (use-region-p) (jinx-correct-all) (jinx-correct-nearest)))
     ('(16) (jinx-correct-word))
+    ('(64) (jinx-correct-all t))
     (_ (jinx-correct-all))))
 
 (defun jinx-correct-select ()

Reply via email to