emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[elpa] externals/chess 7193c24 2/2: * chess-network.el (chess-network-ha


From: Mario Lang
Subject: [elpa] externals/chess 7193c24 2/2: * chess-network.el (chess-network-handler): Use `executable-find'.
Date: Sat, 19 Sep 2020 13:02:36 -0400 (EDT)

branch: externals/chess
commit 7193c24769d463ae8920a2f8143f8cc3d0122eb1
Author: Mario Lang <mlang@blind.guru>
Commit: Mario Lang <mlang@blind.guru>

    * chess-network.el (chess-network-handler): Use `executable-find'.
---
 chess-network.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/chess-network.el b/chess-network.el
index c9a6b3d..16f7aa7 100644
--- a/chess-network.el
+++ b/chess-network.el
@@ -144,7 +144,7 @@
                                                  (string-to-number
                                                   (read-string "Port: ")))
                    (start-process "*chess-network*"
-                                  (current-buffer) "/usr/bin/nc"
+                                  (current-buffer) (executable-find "nc")
                                   "-l" "-p" (read-string "Port: ")))
                (open-network-stream "*chess-network*" (current-buffer)
                                     (read-string "Host: ")



reply via email to

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