emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/vc-hgcmd 2b1b87b 76/87: Trim left whitespace from entry


From: Stefan Monnier
Subject: [elpa] externals/vc-hgcmd 2b1b87b 76/87: Trim left whitespace from entry value in vc-dir
Date: Sat, 5 Jun 2021 16:11:50 -0400 (EDT)

branch: externals/vc-hgcmd
commit 2b1b87ba16195c19ff0ebf808bfb26eae40eb8af
Author: muffinmad <andreyk.mad@gmail.com>
Commit: muffinmad <andreyk.mad@gmail.com>

    Trim left whitespace from entry value in vc-dir
---
 vc-hgcmd.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/vc-hgcmd.el b/vc-hgcmd.el
index 546a017..7ffc964 100644
--- a/vc-hgcmd.el
+++ b/vc-hgcmd.el
@@ -753,7 +753,7 @@ Insert output to process buffer and check if amount of data 
is enought to parse
           (goto-char (point-min))
           (while (not (eobp))
             (push
-             (let ((entry (if (looking-at "\\([^ ].*\\): \\(.*\\)")
+             (let ((entry (if (looking-at "\\([^ ].*\\):\\s-+\\(.*\\)")
                               (cons (capitalize (match-string 1)) 
(match-string 2))
                             (cons "" (buffer-substring (point) 
(line-end-position))))))
                (concat



reply via email to

[Prev in Thread] Current Thread [Next in Thread]