]> git.eshelyaron.com Git - emacs.git/commit
Fix 'wrong-type-argument' in 'php-ts-mode--webserver-read-args'
authorVincenzo Pupillo <v.pupillo@gmail.com>
Sat, 15 Jun 2024 16:57:29 +0000 (18:57 +0200)
committerEshel Yaron <me@eshelyaron.com>
Mon, 17 Jun 2024 10:43:50 +0000 (12:43 +0200)
commit35336ec33c5c90d93004ad8b46e989bcc9520c02
treee32f8774e17a2b4532e9e798f582cd18d9aa5276
parentbb551c529fa741a3b389215d776335daac8b8e3c
Fix 'wrong-type-argument' in 'php-ts-mode--webserver-read-args'

Prevents php-ts-mode--webserver-read-args from throwing an
error if the current buffer is not associated with a file.
* lisp/progmodes/php-ts-mode.el (php-ts-mode--webserver-read-args):
Use 'default-directory if' the current buffer is not associated
with a file.  (Bug#71574)
(php-ts-mode-run-php-webserver): Fix doc string.

(cherry picked from commit 13c4fc3dc72d87af89d92f40808cf4f1285eddab)
lisp/progmodes/php-ts-mode.el