summaryrefslogtreecommitdiff
path: root/corfu.el
diff options
context:
space:
mode:
authorDaniel Mendler <mail@daniel-mendler.de>2024-11-27 16:52:35 +0100
committerDaniel Mendler <mail@daniel-mendler.de>2024-11-27 16:54:37 +0100
commitf10f58f446e2cbda738ae8738cf4a7464a8aeeab (patch)
treee5fd78730a232858fa32f1f244602162462591f1 /corfu.el
parent7bc31ae92cc788a0b342a45a61d72605c04f6708 (diff)
README: Warn more explicitly about the dangers of corfu-auto=t
Corfu ships with the setting corfu-auto=nil by default.
Diffstat (limited to 'corfu.el')
-rw-r--r--corfu.el6
1 files changed, 5 insertions, 1 deletions
diff --git a/corfu.el b/corfu.el
index 41ecb04..61edd9d 100644
--- a/corfu.el
+++ b/corfu.el
@@ -191,7 +191,11 @@ The list can container either command symbols or regular expressions."
(defcustom corfu-auto nil
"Enable auto completion.
-See also the settings `corfu-auto-delay', `corfu-auto-prefix' and
+Auto completion is disabled by default for safety and unobtrusiveness.
+Note that auto completion is particularly dangerous in untrusted files
+since some completion functions may perform arbitrary code execution,
+notably the Emacs built-in `elisp-completion-at-point' . See also the
+settings `corfu-auto-delay', `corfu-auto-prefix' and
`corfu-auto-commands'."
:type 'boolean)