bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#17477: flymake-mode looks at wrong PHP binary


From: Glenn Morris
Subject: bug#17477: flymake-mode looks at wrong PHP binary
Date: Mon, 12 May 2014 15:39:10 -0400
User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)

Joe Borġ wrote:

> Yes, you're right - but why does that effect flymake-php?  I ask so I can
> try and fix it.

Because they load flymake.el, then clobber its flymake-php-init function
with their own version, which is identical to the default version apart
from using "/usr/bin/php" (by default), thus breaking flymake.

Simply (setq php-executable "php") and it should work.

I assume they want to cater for cases where "php" is not installed as
"php"; if there are any.





reply via email to

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