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:
parent
e7c2305a93
commit
1b9f93859f
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue