From 1b9f93859ffba5147dde9b004cd637f69e47fc39 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Mon, 20 Feb 2023 20:07:55 -0500 Subject: [PATCH] fix(vertico): gate docker config for emacs 29+ Redundant with tramp-container, which is used in Emacs 29 and newer. Ref: #6986 Amend: d41cf4e51867 Co-authored-by: elken --- modules/completion/vertico/config.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/completion/vertico/config.el b/modules/completion/vertico/config.el index 61a5e0565..f2e0e7a42 100644 --- a/modules/completion/vertico/config.el +++ b/modules/completion/vertico/config.el @@ -184,7 +184,7 @@ orderless." ("C-x C-d" . consult-dir) ("C-x C-j" . consult-dir-jump-file)) :config - (when (modulep! :tools docker) + (when (and (< emacs-major-version 29) (modulep! :tools docker)) (defun +vertico--consult-dir-docker-hosts () "Get a list of hosts from docker." (when (require 'docker-tramp nil t)