diff options
author | Vitalie Spinu <spinuvit@gmail.com> | 2018-09-22 11:35:21 +0200 |
---|---|---|
committer | Bozhidar Batsov <bozhidar.batsov@gmail.com> | 2018-09-23 21:59:44 +0400 |
commit | e0552ade1f8aef061470eca34035aa45e8e7d14d (patch) | |
tree | 063bb46a18009dd2d65b8bcec260e9e87990e0c7 /cider-connection.el | |
parent | 84159858ac901b21f451d006986ef7cb50a966b5 (diff) |
Move "Closed on" connection message to sentinel
Diffstat (limited to 'cider-connection.el')
-rw-r--r-- | cider-connection.el | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/cider-connection.el b/cider-connection.el index 0a934411..33197766 100644 --- a/cider-connection.el +++ b/cider-connection.el @@ -167,11 +167,7 @@ buffer." (when-let* ((messages-buffer (and nrepl-log-messages (nrepl-messages-buffer repl)))) (kill-buffer messages-buffer)) - (if no-kill - (with-current-buffer repl - (goto-char (point-max)) - (cider-repl-emit-interactive-stderr - (format "*** Closed on %s ***\n" (current-time-string)))) + (unless no-kill (kill-buffer repl))) (when repl (sesman-remove-object 'CIDER nil repl (not no-kill) t))) |