Step 143: index Emacs Elisp functions

This commit is contained in:
Bill
2026-02-09 18:02:57 -07:00
parent beaec58073
commit 568fa38f46
10 changed files with 301 additions and 19 deletions

View File

@@ -193,6 +193,9 @@ int main(int, char**) {
}
state.pollLspMessages();
state.processLibraryIndexResponses();
if (state.emacsFunctionIndexDirty) {
state.updateEmacsFunctionIndex();
}
// Start frame
ImGui_ImplOpenGL3_NewFrame();
@@ -614,7 +617,9 @@ int main(int, char**) {
if (state.showEmacsPackagesPanel) {
ImGui::Begin("Emacs Packages", &state.showEmacsPackagesPanel);
ImGui::PushFont(uiFont);
renderEmacsPackageBrowser(state.emacsPackages, state.emacs, state.outputLog);
if (renderEmacsPackageBrowser(state.emacsPackages, state.emacs, state.outputLog)) {
state.emacsFunctionIndexDirty = true;
}
ImGui::PopFont();
ImGui::End();
}