summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Mendler <mail@daniel-mendler.de>2021-12-13 13:19:24 +0100
committerDaniel Mendler <mail@daniel-mendler.de>2021-12-13 13:19:24 +0100
commita82a0ccb8da95f6d8cc68655670631912431fa3e (patch)
treefa32b05fdd7964b360ca112b440b177e83df441e
parent160bd53db56f279d87377a8068aab754ec4b5d0c (diff)
Properly credit @jakanakaevangeli
The patch is from the capf-autosuggest package.
-rw-r--r--corfu.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/corfu.el b/corfu.el
index c27e1c6..e514b65 100644
--- a/corfu.el
+++ b/corfu.el
@@ -1154,8 +1154,10 @@ there hasn't been any input, then quit."
"Wrapper for `completion-at-point' FUN.
Determines if the capf is applicable at the current position."
(pcase
- ;; bug#50470: Fix Capfs which illegally modify the buffer
- ;; or which illegally call `completion-in-region'
+ ;; bug#50470: Fix Capfs which illegally modify the buffer or which
+ ;; illegally call `completion-in-region'. The workaround here has been
+ ;; proposed @jakanakaevangeli in bug#50470 and is used in
+ ;; @jakanakaevangeli's capf-autosuggest package.
(catch 'corfu--illegal-completion-in-region
(condition-case nil
(let ((buffer-read-only t)