[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug in gpq-query startup on Linux

From: Stephen Leake
Subject: bug in gpq-query startup on Linux
Date: Wed, 12 Feb 2020 17:38:45 -0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (windows-nt)

There's a bug gpq-query startup on Linux; here's a patch:

diff --git a/gpr-query.el b/gpr-query.el
index 0785c251..ea642d3d 100644
--- a/gpr-query.el
+++ b/gpr-query.el
@@ -146,7 +146,7 @@ Must match gpr_query.adb Version.")
 (defun gpr-query--start-process (project session)
   "Start the session process running gpr_query."
-  (unless (locate-file gpr-query-exec exec-path '(".exe"))
+  (unless (locate-file gpr-query-exec exec-path '("" ".exe"))
     (user-error "'%s' not found on PATH" gpr-query-exec))
   (unless (buffer-live-p (gpr-query--session-buffer session))

-- Stephe

reply via email to

[Prev in Thread] Current Thread [Next in Thread]