Simon Wright <[email protected]> writes:

> C-c C-p (gpr-set-as-project) results in the error
>
>    cond: cl-ecase failed: gnat, (gnat_xref gpr_query)
>
> I think this is because ada-xref-tool is set to ‘gnat in
> ada-gnat-xref.el?

I changed things around, and missed this line. Sorry!

Here's a patch:

--- gpr-mode.el ba03c7a75e5978879078e7150be56b4314c315ae
+++ gpr-mode.el c6fbe7476fcecc58bd5ee0d83290f3cf101f3528
@@ -214,7 +214,7 @@ of the package or project point is in or
   ;; Kill sessions to catch changed env vars
   ;; FIXME: need dispatching kill single session
   (cl-ecase ada-xref-tool
-    (gnat_xref nil)
+    (gnat nil)
     (gpr_query (gpr-query-kill-all-sessions))
     )
   (ada-parse-prj-file (or file (buffer-file-name)))

-- 
-- Stephe

_______________________________________________
Emacs-ada-mode mailing list
[email protected]
http://host114.hostmonster.com/mailman/listinfo/emacs-ada-mode_stephe-leake.org

Reply via email to