From 8cc563282597abdb8f5cca64df41166c5ebca6b5 Mon Sep 17 00:00:00 2001 From: Juergen Hoetzel Date: Fri, 22 Dec 2023 19:00:07 +0100 Subject: [PATCH] Use "opam var" instead "opam config var" "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. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 447d031..22bca43 100644 --- a/README.md +++ b/README.md @@ -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)