]> git.eshelyaron.com Git - emacs.git/commitdiff
; * lisp/progmodes/php-ts-mode.el: Docstring fixes
authorPhil Sainty <psainty@orcon.net.nz>
Fri, 4 Jul 2025 06:30:49 +0000 (18:30 +1200)
committerEshel Yaron <me@eshelyaron.com>
Wed, 23 Jul 2025 20:14:12 +0000 (22:14 +0200)
(php-ts-mode-alternative-php-program-name, php-ts-mode--executable):
Improve documentation.

(cherry picked from commit 1ea68b930c045596706534abb3b7fcbcbc7a5b6d)

lisp/progmodes/php-ts-mode.el

index 567f0bdce745426709b843ec73c1f1165eff5a2e..c30c42cb8336c71d9a6501074f3b8f41b999b40b 100644 (file)
@@ -142,7 +142,7 @@ Works like `css--fontify-region'."
 
 (defvar-local php-ts-mode-alternative-php-program-name nil
   "An alternative to the usual `php' program name.
-In non-nil, `php-ts-mode--executable' try to find this executable.")
+If non-nil, `php-ts-mode--executable' looks for this instead of \"php\".")
 
 (defcustom php-ts-mode-php-config nil
   "The location of php.ini file.
@@ -313,7 +313,7 @@ Calls REPORT-FN directly."
   "Return the absolute filename of the php executable.
 If the `default-directory' is remote, search on a remote host, otherwise
 it searches locally.  If `php-ts-mode-alternative-php-program-name' is
-non-zero, it searches for this program instead of the usual `php'.
+non-nil, it searches for this program instead of the usual `php'.
 If the search fails, it returns `php-ts-mode-php-default-executable'."
   (or (executable-find
       (or php-ts-mode-alternative-php-program-name "php") t)