branch: elpa/hyperdrive
commit bf5cd4ab20c94a9597eb9dc0ced687f69e06b84b
Author: Joseph Turner <[email protected]>
Commit: Joseph Turner <[email protected]>
Comment: Update TODO
---
hyperdrive-lib.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/hyperdrive-lib.el b/hyperdrive-lib.el
index 5281a363ac..c44b00141a 100644
--- a/hyperdrive-lib.el
+++ b/hyperdrive-lib.el
@@ -1431,9 +1431,10 @@ Default function; see variable
`h/gateway-start-function'."
"Announce that the gateway is ready."
(h/message "Gateway ready."))
-;; TODO: Doesn't work if hyperdrive-start called outside with M-x, not from
menu
(defun h/menu-refresh ()
"Refresh `hyperdrive-menu' if it's open."
+ ;; TODO: Doesn't work if hyperdrive-start called outside with M-x, not from
+ ;; menu. Jonas might add a variable like `transient-active-command' to DTRT.
(when (and (eq transient-current-command 'h/menu)
;; Depending on transient-show-popup customization, there
;; might be no popup (yet).