Skip to content

Commit 07c597d

Browse files
committed
[Emacs 30.1] Turn off global-completion-preview-mode
Turn off global-completion-preview-mode in crafted-completion-config with other built-in modes related to completion.
1 parent e3684be commit 07c597d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

modules/crafted-completion-config.el

+5-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,11 @@
3030
(fido-mode -1)
3131
(fido-vertical-mode -1)
3232
(icomplete-mode -1)
33-
(icomplete-vertical-mode -1)))
33+
(icomplete-vertical-mode -1)
34+
(when (version< "30" emacs-version)
35+
;; this mode is only available in Emacs version 30.1 and
36+
;; greater.
37+
(global-completion-preview-mode -1))))
3438

3539

3640
;;; Marginalia

0 commit comments

Comments
 (0)