Skip to content

Commit 43ea412

Browse files
committed
Use lsp-map instead of ht-map
1 parent 32d72d5 commit 43ea412

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

lsp-java.el

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1015,8 +1015,9 @@ current symbol."
10151015
(lsp-request-async
10161016
"java/organizeImports" context
10171017
(lambda (result)
1018-
(ht-amap (with-current-buffer (find-file-noselect (lsp--uri-to-path key))
1019-
(lsp--apply-text-edits value))
1018+
(lsp-map (lambda (key value)
1019+
(with-current-buffer (find-file-noselect (lsp--uri-to-path key))
1020+
(lsp--apply-text-edits value)))
10201021
(lsp:workspace-edit-changes? result)))
10211022
:mode 'detached))))
10221023

0 commit comments

Comments
 (0)