Config: extract EMMS and clean up config, add gptel session save with AI-generated filenames

This commit is contained in:
User
2026-04-17 02:35:16 +08:00
parent 263df285fc
commit a755ad5a04
9 changed files with 274 additions and 212 deletions

View File

@@ -44,7 +44,6 @@
(corfu-popupinfo-mode)
(corfu-history-mode)
:config
(add-hook 'after-init-hook #'global-corfu-mode)
;;Quit completion before saving
(add-hook 'before-save-hook #'corfu-quit)
(advice-add #'persistent-scratch-save :before #'corfu-quit)
@@ -103,8 +102,6 @@
;; (add-to-list 'completion-at-point-functions #'cape-abbrev)
;; Make these capfs composable.
(advice-add 'lsp-completion-at-point :around #'cape-wrap-noninterruptible)
(advice-add 'lsp-completion-at-point :around #'cape-wrap-nonexclusive)
(advice-add 'comint-completion-at-point :around #'cape-wrap-nonexclusive)
(advice-add 'eglot-completion-at-point :around #'cape-wrap-buster)
(advice-add 'eglot-completion-at-point :around #'cape-wrap-nonexclusive)