]> git.eshelyaron.com Git - emacs.git/commitdiff
; Fix a test (Bug#39067)
authorTino Calancha <tino.calancha@gmail.com>
Sun, 19 Jan 2020 21:01:17 +0000 (22:01 +0100)
committerTino Calancha <tino.calancha@gmail.com>
Sun, 19 Jan 2020 21:01:17 +0000 (22:01 +0100)
* test/lisp/simple-tests.el (with-shell-command-dont-erase-buffer):
Use flag -Q to prevent from loading site-lisp files.

test/lisp/simple-tests.el

index 0b12cee5855818a907fd6fee0c0ec141b3724ba6..8ef3c885b965a4e810128936ed033a2d2fb3039c 100644 (file)
@@ -723,7 +723,7 @@ 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 --batch --eval '(princ \"%s\")'" invocation-name ,str))
+            (,command (format "%s -Q --batch --eval '(princ \"%s\")'" invocation-name ,str))
             (inhibit-message t))
        (unwind-protect
            ;; Feature must work the same regardless how we specify the 2nd arg of `shell-command', ie,