Skip to content

Commit 5d1eb02

Browse files
authored
Merge pull request #803 from emacs-php/remove/php-executable-default-path
Removes hardcoding of implicit paths in `php` that are not guaranteed to exist
2 parents 462b622 + a84469e commit 5d1eb02

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,11 @@ All notable changes of the PHP Mode 1.19.1 release series are documented in this
88

99
* Add `readonly` class modifier to [Imenu] ([#802])
1010
* Add `enum` support to `php-current-class` ([#802])
11+
* Remove hardcoding of implicit paths in `php` that are not guaranteed to exist ([#803])
1112

1213
[Imenu]: https://www.gnu.org/software/emacs/manual/html_node/emacs/Imenu.html
1314
[#802]: https://github.com/emacs-php/php-mode/pull/802
15+
[#803]: https://github.com/emacs-php/php-mode/pull/803
1416

1517
## [1.27.0] - 2024-12-20
1618

lisp/php.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
:link '(url-link :tag "Official Site" "https://github.com/emacs-php/php-mode")
5050
:link '(url-link :tag "PHP Mode Wiki" "https://github.com/emacs-php/php-mode/wiki"))
5151

52-
(defcustom php-executable (or (executable-find "php") "/usr/bin/php")
52+
(defcustom php-executable (or (executable-find "php") "php")
5353
"The location of the PHP executable."
5454
:group 'php
5555
:tag "PHP Executable"

0 commit comments

Comments
 (0)