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

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

[elpa] scratch/javaimp-wip a5c00a7 3/7: wip


From: Filipp Gunbin
Subject: [elpa] scratch/javaimp-wip a5c00a7 3/7: wip
Date: Wed, 4 Aug 2021 20:42:47 -0400 (EDT)

branch: scratch/javaimp-wip
commit a5c00a78f0ca60e73b869775e72ade87ff204996
Author: Filipp Gunbin <fgunbin@fastmail.fm>
Commit: Filipp Gunbin <fgunbin@fastmail.fm>

    wip
---
 javaimp.el | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/javaimp.el b/javaimp.el
index 3efdae4..5b887fb 100644
--- a/javaimp.el
+++ b/javaimp.el
@@ -576,7 +576,10 @@ is `ordinary' or `static'.  Interactively, NEW-IMPORTS is 
nil."
 
 ;;;###autoload
 (defun javaimp-imenu-create-index ()
-  (let ((forest (javaimp--parse-get-forest-for-imenu)))
+  (let ((forest (save-excursion
+                  (javaimp--parse-clean-all-scopes)
+                  (javaimp--parse-all-scopes)
+                  (javaimp--parse-get-forest-for-imenu))))
     (cond ((not javaimp-imenu-group-methods)
            ;; just plain list of methods
            (javaimp--collect-nodes



reply via email to

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