summaryrefslogtreecommitdiff
path: root/helm-occur.el
diff options
context:
space:
mode:
authorThierry Volpiatto <thierry.volpiatto@gmail.com>2019-04-03 19:02:45 +0200
committerThierry Volpiatto <thierry.volpiatto@gmail.com>2019-04-03 19:02:45 +0200
commita16d33db7ad044aa6aa8b4b0875e1cbdedb90c42 (patch)
tree340b3ca3e2b4279aa15d8afcd1f3877bca34e902 /helm-occur.el
parente79b6e28ac794e9d75e7be41febd03d7a8bcc6e8 (diff)
Fix regexp in helm-occur transformer
* helm-occur.el (helm-occur-transformer): Don't include extra space after linum in real line.
Diffstat (limited to 'helm-occur.el')
-rw-r--r--helm-occur.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/helm-occur.el b/helm-occur.el
index 26bf70e3..668f99cc 100644
--- a/helm-occur.el
+++ b/helm-occur.el
@@ -151,7 +151,7 @@ engine beeing completely different and also much faster."
"Returns CANDIDATES prefixed with line number."
(cl-loop with buf = (helm-attr 'buffer-name)
for c in candidates
- collect (when (string-match "\\`\\([0-9]*\\)\\(.*\\)\\'" c)
+ collect (when (string-match "\\`\\([0-9]*\\)\\s-\\{1\\}\\(.*\\)\\'" c)
(let ((linum (match-string 1 c))
(disp (match-string 2 c)))
(cons (format "%s:%s"