branch: elpa/opam-switch-mode
commit 1ba0d7bf4a2068f4ab2eeea3001f96b4a6bc6325
Author: Erik Martin-Dorel <[email protected]>
Commit: Erik Martin-Dorel <[email protected]>
docs(opam-switch--get-switches): Add fixme
---
opam-switch-mode.el | 1 +
1 file changed, 1 insertion(+)
diff --git a/opam-switch-mode.el b/opam-switch-mode.el
index 5e9e223f45..a3d79d2701 100644
--- a/opam-switch-mode.el
+++ b/opam-switch-mode.el
@@ -182,6 +182,7 @@ This function should not be called directly; see
`opam-switch--root'."
"Return all opam switches as list of strings."
(let (opam-switches)
(with-temp-buffer
+ ;; FIXME: Use "opam switch -s" ?
(unless (eq (opam-switch--run-command-without-stderr "switch") 0)
;; opam exit status different from 0 -- some error occured
(error "Command 'opam switch' failed"))