emacs-devel
[Top][All Lists]
Advanced

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

Re: Emacs pretest 28.0.91 is out


From: Michael Albinus
Subject: Re: Emacs pretest 28.0.91 is out
Date: Wed, 12 Jan 2022 12:24:28 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Robert Pluim <rpluim@gmail.com> writes:

Hi Robert,

> +(defun flymake-tests--gcc-is-clang ()
> +  "Whether the `gcc' command actually runs the Clang compiler."
> +  (string-match "[Cc]lang version "
> +                (shell-command-to-string "gcc --version")))

I don't know whether this can happen here, but *if* default-directory is
remote, the test runs on a wrong machine. Therefore, I wrap such calls
always with

(let ((default-directory temporary-file-directory))
  ...)

Best regards, Michael.



reply via email to

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