emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/corfu 1685060b0c: global-corfu-modes: Add examples (See


From: ELPA Syncer
Subject: [elpa] externals/corfu 1685060b0c: global-corfu-modes: Add examples (See #379 and #383)
Date: Thu, 2 Nov 2023 15:57:45 -0400 (EDT)

branch: externals/corfu
commit 1685060b0c8aaa8cc1b2e43e631a7bf1dacf5278
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>

    global-corfu-modes: Add examples (See #379 and #383)
---
 corfu.el | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/corfu.el b/corfu.el
index 8abc305878..35d09de3da 100644
--- a/corfu.el
+++ b/corfu.el
@@ -1292,7 +1292,10 @@ Quit if no candidate is selected."
 (defcustom global-corfu-modes t
   "List of modes where Corfu should be enabled.
 The variable can either be t, nil or a list of t, nil, mode
-symbols or elements of the form (not modes)."
+symbols or elements of the form (not modes).  Examples:
+  - Enable everywhere, except in Org: ((not org-mode) t).
+  - Enable in programming modes except Python: ((not python-mode) prog-mode).
+  - Enable only in text modes: (text-mode)."
   :type '(choice (const t) (repeat sexp)))
 
 ;;;###autoload



reply via email to

[Prev in Thread] Current Thread [Next in Thread]