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

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

[elpa] externals/javaimp abec1e3: * javaimp-parse.el (javaimp--parse-get


From: Filipp Gunbin
Subject: [elpa] externals/javaimp abec1e3: * javaimp-parse.el (javaimp--parse-get-package): Fix
Date: Thu, 18 Nov 2021 21:46:00 -0500 (EST)

branch: externals/javaimp
commit abec1e31382ed33e69cf41294268c7b9a18380c3
Author: Filipp Gunbin <fgunbin@fastmail.fm>
Commit: Filipp Gunbin <fgunbin@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

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