branch: externals/javaimp
commit abec1e31382ed33e69cf41294268c7b9a18380c3
Author: Filipp Gunbin <fgun...@fastmail.fm>
Commit: Filipp Gunbin <fgun...@fastmail.fm>

    * javaimp-parse.el (javaimp--parse-get-package): Fix
---
 javaimp-parse.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/javaimp-parse.el b/javaimp-parse.el
index 13950d2..986e690 100644
--- a/javaimp-parse.el
+++ b/javaimp-parse.el
@@ -471,7 +471,7 @@ at the end of directive."
   (goto-char (point-max))
   (when (javaimp--parse-rsb-keyword javaimp--parse-package-regexp nil t 1)
     (goto-char (match-end 0))
-    (match-string 1)))
+    (match-string 2)))
 
 (defun javaimp--parse-get-imports ()
   "Parse import directives in the current buffer and return (REGION

Reply via email to