Skip to content

Commit

Permalink
Fix malformed when-let* again
Browse files Browse the repository at this point in the history
  • Loading branch information
zonuexe committed Dec 19, 2024
1 parent 9f0695e commit 69e9c16
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lisp/php-project.el
Original file line number Diff line number Diff line change
Expand Up @@ -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)))))
Expand Down
2 changes: 1 addition & 1 deletion lisp/php.el
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 69e9c16

Please sign in to comment.