Skip to content

Commit

Permalink
Use "opam var" instead "opam config var"
Browse files Browse the repository at this point in the history
"opam config var" was deprecared in version 2.1 and generates an error message in the process output:

[WARNING] var was deprecated in version 2.1 of the opam CLI. Use opam var instead or set OPAMCLI environment variable to 2.0.
  • Loading branch information
juergenhoetzel authored and pmetzger committed Jan 16, 2024
1 parent fcb7903 commit 8cc5632
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ to your `~/.emacs`:
'load-path
(replace-regexp-in-string
"\n" "/share/emacs/site-lisp"
(shell-command-to-string "opam config var prefix")))
(shell-command-to-string "opam var prefix")))
;; Automatically load utop.el
(autoload 'utop "utop" "Toplevel for OCaml" t)
Expand Down

0 comments on commit 8cc5632

Please sign in to comment.