summaryrefslogtreecommitdiffhomepage
path: root/custom/jao-custom-completion.el
diff options
context:
space:
mode:
Diffstat (limited to 'custom/jao-custom-completion.el')
-rw-r--r--custom/jao-custom-completion.el18
1 files changed, 0 insertions, 18 deletions
diff --git a/custom/jao-custom-completion.el b/custom/jao-custom-completion.el
index 9e68200..3b3ad09 100644
--- a/custom/jao-custom-completion.el
+++ b/custom/jao-custom-completion.el
@@ -243,24 +243,6 @@
(when (and aframe key)
(add-to-list 'jao-consult-narrow (cons aframe key))))
-;;;; consult: narrowing to chat buffers
-(defvar jao-chat-buffer-source
- (list :name "chats"
- :category 'buffer
- :action #'pop-to-buffer
- :hidden t
- :narrow (cons ?c "chats")
- :items (jao-consult--mode-buffers 'erc-mode
- 'circe-channel-mode
- 'circe-query-mode
- 'signel-chat-mode
- 'slack-message-buffer-mode
- 'slack-thread-message-buffer-mode
- 'telega-root-mode
- 'telega-chat-mode)))
-(with-eval-after-load "consult"
- (jao-consult-add-buffer-source 'jao-chat-buffer-source))
-
;;; embark
;;;; package
(use-package embark