emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/phpinspect 98e88d45ac 034/126: WIP: Fix find-class-file


From: ELPA Syncer
Subject: [elpa] externals/phpinspect 98e88d45ac 034/126: WIP: Fix find-class-file
Date: Sat, 12 Aug 2023 00:58:38 -0400 (EDT)

branch: externals/phpinspect
commit 98e88d45ac9ec4e2ce75fceaa5c1ce92bb17f768
Author: Hugo Thunnissen <devel@hugot.nl>
Commit: Hugo Thunnissen <devel@hugot.nl>

    WIP: Fix find-class-file
---
 phpinspect.el | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/phpinspect.el b/phpinspect.el
index 1ceb74e6ab..a6cc848fef 100644
--- a/phpinspect.el
+++ b/phpinspect.el
@@ -1224,7 +1224,8 @@ When called interactively, presents the the user with a 
list of
 available FQNs in a project.  This may require
 `phpinspect-index-current-project' to have run once for the
 project directory before it can be used."
-  (interactive (list (completing-read "Class: " (phpinspect-get-all-fqns))))
+  (interactive (list (phpinspect--make-type
+                      :name (completing-read "Class: " 
(phpinspect-get-all-fqns)))))
   (find-file (phpinspect-class-filepath fqn)))
 
 (defun phpinspect-find-own-class-file (fqn)
@@ -1233,7 +1234,9 @@ project directory before it can be used."
 When called interactively, presents the user with a list of
 available FQNs for classes in the current project, which aren't
 located in \"vendor\" folder."
-  (interactive (list (completing-read "Class: " (phpinspect-get-all-fqns 
"uses_own"))))
+  (interactive (list (phpinspect--make-type
+                      :name
+                      (completing-read "Class: " (phpinspect-get-all-fqns 
"uses_own")))))
   (find-file (phpinspect-class-filepath fqn)))
 
 (defsubst phpinspect-class-filepath (fqn)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]