Skip to content

Commit 5edfbc0

Browse files
committed
Prevent double spaces in current-time-string
1 parent 6f63720 commit 5edfbc0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

nrepl-client.el

+3-1
Original file line numberDiff line numberDiff line change
@@ -500,7 +500,9 @@ and kill the process buffer."
500500
(goto-char (point-max))
501501
(insert-before-markers
502502
(propertize
503-
(format "\n*** Closed on %s ***\n" (current-time-string))
503+
(format "\n*** Closed on %s ***\n" (replace-regexp-in-string " +"
504+
" "
505+
(current-time-string)))
504506
'face 'cider-repl-stderr-face))
505507
(run-hooks 'nrepl-disconnected-hook)
506508
(let ((server-buffer nrepl-server-buffer))

0 commit comments

Comments
 (0)