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-connection.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-connection.el')
-rw-r--r-- | cider-connection.el | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/cider-connection.el b/cider-connection.el index c2355789..dabd86c0 100644 --- a/cider-connection.el +++ b/cider-connection.el @@ -339,10 +339,7 @@ Don't restart the server or other connections within the same session. Use (message "%s" (cider--connection-info (cider-current-repl)))) (define-obsolete-function-alias 'cider-display-connection-info 'cider-describe-current-connection "0.18.0") -(defvar cider-ancillary-buffers) ; defined in cider-common.el - (defconst cider-nrepl-session-buffer "*cider-nrepl-session*") -(add-to-list 'cider-ancillary-buffers cider-nrepl-session-buffer) (defun cider-describe-nrepl-session () "Describe an nREPL session." @@ -358,7 +355,7 @@ Don't restart the server or other connections within the same session. Use ((equal session-id (cider-nrepl-eval-session)) "Active eval") ((equal session-id (cider-nrepl-tooling-session)) "Active tooling") (t "Unknown")))) - (with-current-buffer (cider-popup-buffer cider-nrepl-session-buffer) + (with-current-buffer (cider-popup-buffer cider-nrepl-session-buffer nil 'ancillary) (read-only-mode -1) (insert (format "Session: %s\n" session-id) (format "Type: %s session\n" session-type) |