summaryrefslogtreecommitdiff
path: root/corfu.el
diff options
context:
space:
mode:
authorDaniel Mendler <mail@daniel-mendler.de>2025-04-06 13:42:44 +0200
committerDaniel Mendler <mail@daniel-mendler.de>2025-04-06 14:11:47 +0200
commitbb2b8d484ce3a12c069ef0f4f2e4c88f0861ae89 (patch)
tree736c15929f7b62b6d34756d0a466736349b8ff58 /corfu.el
parentdee10bbddbd3ed572ed87a2b42cd7f0b2a454aca (diff)
README: Update configuration
Diffstat (limited to 'corfu.el')
-rw-r--r--corfu.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/corfu.el b/corfu.el
index cdf09f7..b9ab640 100644
--- a/corfu.el
+++ b/corfu.el
@@ -886,7 +886,7 @@ See `completion-in-region' for the arguments BEG, END, TABLE, PRED."
(setq beg (if (markerp beg) beg (copy-marker beg))
end (if (and (markerp end) (marker-insertion-type end)) end (copy-marker end t))
completion-in-region--data (list beg end table pred completion-extra-properties))
- (completion-in-region-mode 1)
+ (completion-in-region-mode)
(activate-change-group (setq corfu--change-group (prepare-change-group)))
(setcdr (assq #'completion-in-region-mode minor-mode-overriding-map-alist) corfu-map)
(add-hook 'pre-command-hook #'corfu--prepare nil 'local)
@@ -1431,7 +1431,7 @@ local `completion-at-point-functions'."
('nil 0)
((pred symbolp) (and (derived-mode-p p) t))
(`(not . ,m) (and (seq-some #'derived-mode-p m) 0)))))))
- (corfu-mode 1)))
+ (corfu-mode)))
(defun corfu--minibuffer-on ()
"Enable `corfu-mode' in the minibuffer respecting `global-corfu-minibuffer'."
@@ -1439,7 +1439,7 @@ local `completion-at-point-functions'."
(if (functionp global-corfu-minibuffer)
(funcall global-corfu-minibuffer)
(local-variable-p 'completion-at-point-functions)))
- (corfu-mode 1)))
+ (corfu-mode)))
;; Do not show Corfu commands with M-X
(dolist (sym '( corfu-next corfu-previous corfu-first corfu-last corfu-quit corfu-reset