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

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

[elpa] externals/setup fc958ad 08/19: Rename :needs argument to executab


From: Stefan Monnier
Subject: [elpa] externals/setup fc958ad 08/19: Rename :needs argument to executable
Date: Mon, 15 Mar 2021 17:26:27 -0400 (EDT)

branch: externals/setup
commit fc958ad2e93fd107a010435558d30384ab32f41e
Author: Philip K <philipk@posteo.net>
Commit: Philip K <philipk@posteo.net>

    Rename :needs argument to executable
---
 setup.el | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/setup.el b/setup.el
index f12a648..afafd30 100644
--- a/setup.el
+++ b/setup.el
@@ -400,10 +400,10 @@ form (prepend VAR), VAL is prepended to VAR."
   :after-loaded t)
 
 (setup-define :needs
-  (lambda (binary)
-    `(unless (executable-find ,binary)
+  (lambda (executable)
+    `(unless (executable-find ,executable)
        (throw 'setup-exit nil)))
-  :documentation "If PROGRAM is not in the path, stop here."
+  :documentation "If EXECUTABLE is not in the path, stop here."
   :repeatable 1)
 
 (setup-define :if



reply via email to

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