fix(vertico): gate docker config for emacs 29+

Redundant with tramp-container, which is used in Emacs 29 and newer.

Ref: #6986
Amend: d41cf4e518
Co-authored-by: elken <elken@users.noreply.github.com>
This commit is contained in:
Henrik Lissner 2023-02-20 20:07:55 -05:00
parent e7c2305a93
commit 1b9f93859f
No known key found for this signature in database
GPG key ID: B60957CA074D39A3

View file

@ -184,7 +184,7 @@ orderless."
("C-x C-d" . consult-dir) ("C-x C-d" . consult-dir)
("C-x C-j" . consult-dir-jump-file)) ("C-x C-j" . consult-dir-jump-file))
:config :config
(when (modulep! :tools docker) (when (and (< emacs-major-version 29) (modulep! :tools docker))
(defun +vertico--consult-dir-docker-hosts () (defun +vertico--consult-dir-docker-hosts ()
"Get a list of hosts from docker." "Get a list of hosts from docker."
(when (require 'docker-tramp nil t) (when (require 'docker-tramp nil t)