[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/consult 271b89a 3/3: consult--async-process: Split line
From: |
ELPA Syncer |
Subject: |
[elpa] externals/consult 271b89a 3/3: consult--async-process: Split lines with [\r\n]+ |
Date: |
Thu, 12 Aug 2021 15:57:09 -0400 (EDT) |
branch: externals/consult
commit 271b89af7f59acaa54123d36abb9efdcea0ddc38
Author: Daniel Mendler <mail@daniel-mendler.de>
Commit: Daniel Mendler <mail@daniel-mendler.de>
consult--async-process: Split lines with [\r\n]+
See https://github.com/oantolin/embark/issues/339
---
consult.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/consult.el b/consult.el
index eed3769..42ce162 100644
--- a/consult.el
+++ b/consult.el
@@ -1599,7 +1599,7 @@ PROPS are optional properties passed to `make-process'."
(when flush
(setq flush nil)
(funcall async 'flush))
- (let ((lines (split-string out "\n")))
+ (let ((lines (split-string out "[\r\n]+")))
(if (not (cdr lines))
(setq rest (concat rest (car lines)))
(setcar lines (concat rest (car lines)))