diff --git a/CHANGELOG.md b/CHANGELOG.md index feb711f9..115ef78d 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 6a2f40f8..9ce9eecf 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"