branch: externals/corfu commit a82a0ccb8da95f6d8cc68655670631912431fa3e Author: Daniel Mendler <m...@daniel-mendler.de> Commit: Daniel Mendler <m...@daniel-mendler.de>
Properly credit @jakanakaevangeli The patch is from the capf-autosuggest package. --- corfu.el | 6 ++++-- 1 file 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)