emacs-diffs
[Top][All Lists]
Advanced

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

emacs-27 891f7de: * test/lisp/simple-tests.el: Full path to Emacs binary


From: Mattias Engdegård
Subject: emacs-27 891f7de: * test/lisp/simple-tests.el: Full path to Emacs binary (bug#39067).
Date: Mon, 20 Jan 2020 08:28:53 -0500 (EST)

branch: emacs-27
commit 891f7de8ed1615b830e27922b3d85be53a652a60
Author: Mattias Engdegård <address@hidden>
Commit: Mattias Engdegård <address@hidden>

    * test/lisp/simple-tests.el: Full path to Emacs binary (bug#39067).
---
 test/lisp/simple-tests.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/test/lisp/simple-tests.el b/test/lisp/simple-tests.el
index 8ef3c88..276df79 100644
--- a/test/lisp/simple-tests.el
+++ b/test/lisp/simple-tests.el
@@ -723,7 +723,9 @@ See Bug#21722."
     `(let* ((,caller-buf (generate-new-buffer "caller-buf"))
             (,output-buf (if ,output-buffer-is-current ,caller-buf
                            (generate-new-buffer "output-buf")))
-            (,command (format "%s -Q --batch --eval '(princ \"%s\")'" 
invocation-name ,str))
+            (emacs (expand-file-name invocation-name invocation-directory))
+            (,command (format "%s -Q --batch --eval '(princ \"%s\")'"
+                              emacs ,str))
             (inhibit-message t))
        (unwind-protect
            ;; Feature must work the same regardless how we specify the 2nd arg 
of `shell-command', ie,



reply via email to

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