summaryrefslogtreecommitdiff
path: root/cider-apropos.el
diff options
context:
space:
mode:
Diffstat (limited to 'cider-apropos.el')
-rw-r--r--cider-apropos.el4
1 files changed, 1 insertions, 3 deletions
diff --git a/cider-apropos.el b/cider-apropos.el
index 7d577767..97be9aa6 100644
--- a/cider-apropos.el
+++ b/cider-apropos.el
@@ -39,7 +39,6 @@
(require 'button)
(defconst cider-apropos-buffer "*cider-apropos*")
-(add-to-list 'cider-ancillary-buffers cider-apropos-buffer)
(defcustom cider-apropos-actions '(("display-doc" . cider-doc-lookup)
("find-def" . cider--find-var)
@@ -116,9 +115,8 @@ and be case-sensitive (based on CASE-SENSITIVE-P)."
(defun cider-show-apropos (summary results query docs-p)
"Show SUMMARY and RESULTS for QUERY in a pop-up buffer, formatted for DOCS-P."
- (with-current-buffer (cider-popup-buffer cider-apropos-buffer t)
+ (with-current-buffer (cider-popup-buffer cider-apropos-buffer 'select 'apropos-mode 'ancillary)
(let ((inhibit-read-only t))
- (apropos-mode)
(if (boundp 'header-line-format)
(setq-local header-line-format summary)
(insert summary "\n\n"))