[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/php-mode 69e9c16fda 6/6: Fix malformed when-let* again
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/php-mode 69e9c16fda 6/6: Fix malformed when-let* again |
Date: |
Thu, 19 Dec 2024 01:00:47 -0500 (EST) |
branch: elpa/php-mode
commit 69e9c16fda61c3aef9219bf55adadcbba62c0586
Author: USAMI Kenta <tadsan@zonu.me>
Commit: USAMI Kenta <tadsan@zonu.me>
Fix malformed when-let* again
---
lisp/php-project.el | 2 +-
lisp/php.el | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/lisp/php-project.el b/lisp/php-project.el
index caa16eb394..0b59e2ce09 100644
--- a/lisp/php-project.el
+++ b/lisp/php-project.el
@@ -267,7 +267,7 @@ Typically it is `pear', `drupal', `wordpress', `symfony2'
and `psr2'.")
This function is compatible with `project-find-functions'."
(let ((default-directory dir))
- (when-let* (root (php-project-get-root-dir))
+ (when-let* ((root (php-project-get-root-dir)))
(if (file-exists-p (expand-file-name ".git" root))
(cons 'vc root)
(cons 'transient root)))))
diff --git a/lisp/php.el b/lisp/php.el
index 437776c624..c08227b1f7 100644
--- a/lisp/php.el
+++ b/lisp/php.el
@@ -553,7 +553,7 @@ The order is reversed by calling as follows:
(c-backward-token-2 1 nil))
collect
(cond
- ((when-let* (bounds (php--thing-at-point-bounds-of-string-at-point))
+ ((when-let* ((bounds
(php--thing-at-point-bounds-of-string-at-point)))
(prog1 (buffer-substring-no-properties (car bounds) (cdr bounds))
(goto-char (car bounds)))))
((looking-at php-re-token-symbols)
- [nongnu] elpa/php-mode updated (31f702ee2d -> 69e9c16fda), ELPA Syncer, 2024/12/19
- [nongnu] elpa/php-mode c2f416b3c9 3/6: Update php-phpdoc-type-names to support PHPStan 2.0.4, ELPA Syncer, 2024/12/19
- [nongnu] elpa/php-mode 910391c092 2/6: Merge pull request #796 from emacs-php/fix/when-let, ELPA Syncer, 2024/12/19
- [nongnu] elpa/php-mode 69e9c16fda 6/6: Fix malformed when-let* again,
ELPA Syncer <=
- [nongnu] elpa/php-mode a59e92e233 1/6: Use when-let* instead of when-let to support Emacs 30, ELPA Syncer, 2024/12/19
- [nongnu] elpa/php-mode c716ba9e0a 4/6: Merge pull request #795 from emacs-php/update/phpdoc-types, ELPA Syncer, 2024/12/19
- [nongnu] elpa/php-mode 9f0695e705 5/6: Fix malformed when-let*, ELPA Syncer, 2024/12/19