branch: elpa/hyperdrive
commit 6c08000da96459d8240382d9a85c36666181df19
Author: Joseph Turner <[email protected]>
Commit: Joseph Turner <[email protected]>
Tidy: (h/restart) Use shorthands
---
hyperdrive.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/hyperdrive.el b/hyperdrive.el
index 8c7a40b067..563c71a28a 100644
--- a/hyperdrive.el
+++ b/hyperdrive.el
@@ -1359,11 +1359,11 @@ gateway version."
(interactive)
(h/message "Restarting gateway...")
;; TODO: Just start the gateway if it's already stopped?
- (hyperdrive-stop)
+ (h/stop)
(with-timeout (5 (h/message "Timed out waiting for gateway to stop"))
(cl-loop while (h//gateway-live-p)
do (sleep-for 0.2)))
- (hyperdrive-start))
+ (h/start))
;; (defun h//gateway-appears-valid-p ()
;; "Return non-nil if a local installation of the gateway appears valid.