branch: elpa/cider
commit 5edfbc0bedef4c751f2e753477eb3ca4986bf0f0
Author: vemv <v...@users.noreply.github.com>
Commit: vemv <v...@users.noreply.github.com>

    Prevent double spaces in `current-time-string`
---
 nrepl-client.el | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/nrepl-client.el b/nrepl-client.el
index 1649da6f68..43b9759232 100644
--- a/nrepl-client.el
+++ b/nrepl-client.el
@@ -500,7 +500,9 @@ and kill the process buffer."
         (goto-char (point-max))
         (insert-before-markers
          (propertize
-          (format "\n*** Closed on %s ***\n" (current-time-string))
+          (format "\n*** Closed on %s ***\n" (replace-regexp-in-string "  +"
+                                                                       " "
+                                                                       
(current-time-string)))
           'face 'cider-repl-stderr-face))
         (run-hooks 'nrepl-disconnected-hook)
         (let ((server-buffer nrepl-server-buffer))

Reply via email to