diff options
author | Bozhidar Batsov <bozhidar@batsov.com> | 2018-06-24 22:52:23 +0300 |
---|---|---|
committer | Bozhidar Batsov <bozhidar@batsov.com> | 2018-06-24 22:52:23 +0300 |
commit | 13c76efcfc94f3c97183962f91146a851bd7a9d3 (patch) | |
tree | a8c5de71220b388c0e4b40974401f0f70aec971b /cider-doc.el | |
parent | 1fa530a18fd2d8554900860b19161f9e65aa420c (diff) |
[Fix #2347] Remove direct manipulations of cider-ancillary-buffers
CIDER's popups had a way to track those automatically for a while,
it's time to leverage this consistently.
Diffstat (limited to 'cider-doc.el')
-rw-r--r-- | cider-doc.el | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cider-doc.el b/cider-doc.el index 5361bbc3..6798eba4 100644 --- a/cider-doc.el +++ b/cider-doc.el @@ -260,12 +260,11 @@ opposite of what that option dictates." (error "%s cannot be looked up on Grimoire" cider-docview-symbol))) (defconst cider-doc-buffer "*cider-doc*") -(add-to-list 'cider-ancillary-buffers cider-doc-buffer) (defun cider-create-doc-buffer (symbol) "Populates *cider-doc* with the documentation for SYMBOL." (when-let* ((info (cider-var-info symbol))) - (cider-docview-render (cider-make-popup-buffer cider-doc-buffer) symbol info))) + (cider-docview-render (cider-make-popup-buffer cider-doc-buffer nil 'ancillary) symbol info))) (defun cider-doc-lookup (symbol) "Look up documentation for SYMBOL." |