Skip to content

Commit

Permalink
Fix a bug that users who don't have docker installed cannot launch
Browse files Browse the repository at this point in the history
  • Loading branch information
masasam committed Jul 14, 2023
1 parent 5b13055 commit 70dcc6b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions counsel-tramp.el
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

;; Author: Masashi Miyaura
;; URL: https://github.com/masasam/emacs-counsel-tramp
;; Version: 0.7.6
;; Version: 0.7.7
;; Package-Requires: ((emacs "24.3") (counsel "0.10"))

;; This program is free software; you can redistribute it and/or modify
Expand Down Expand Up @@ -212,7 +212,7 @@ You can connect your server with tramp"
(error "There is no ~/.ssh/config"))
(when (or (version<= "29.0.60" emacs-version) (require 'docker-tramp nil t))
(unless (executable-find "docker")
(error "'docker' is not installed")))
(message "'docker' is not installed")))
(when (require 'vagrant-tramp nil t)
(unless (executable-find "vagrant")
(error "'vagrant' is not installed")))
Expand Down

0 comments on commit 70dcc6b

Please sign in to comment.