branch: elpa/php-mode
commit a84469e6a6c95977fdc6ba967b931df5f33e08e3
Author: USAMI Kenta <tad...@zonu.me>
Commit: USAMI Kenta <tad...@zonu.me>

    Removes hardcoding of implicit paths in php that are not guaranteed to exist
---
 CHANGELOG.md | 2 ++
 lisp/php.el  | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index feb711f9ed..115ef78d60 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -8,9 +8,11 @@ All notable changes of the PHP Mode 1.19.1 release series are 
documented in this
 
  * Add `readonly` class modifier to [Imenu] ([#802])
  * Add `enum` support to `php-current-class` ([#802])
+ * Remove hardcoding of implicit paths in `php` that are not guaranteed to 
exist ([#803])
 
 [Imenu]: https://www.gnu.org/software/emacs/manual/html_node/emacs/Imenu.html
 [#802]: https://github.com/emacs-php/php-mode/pull/802
+[#803]: https://github.com/emacs-php/php-mode/pull/803
 
 ## [1.27.0] - 2024-12-20
 
diff --git a/lisp/php.el b/lisp/php.el
index 6a2f40f8f3..9ce9eecf92 100644
--- a/lisp/php.el
+++ b/lisp/php.el
@@ -49,7 +49,7 @@
   :link '(url-link :tag "Official Site" 
"https://github.com/emacs-php/php-mode";)
   :link '(url-link :tag "PHP Mode Wiki" 
"https://github.com/emacs-php/php-mode/wiki";))
 
-(defcustom php-executable (or (executable-find "php") "/usr/bin/php")
+(defcustom php-executable (or (executable-find "php") "php")
   "The location of the PHP executable."
   :group 'php
   :tag "PHP Executable"

Reply via email to