[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/helm d6f4d6af7a 1/4: Fix typo in regexp
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/helm d6f4d6af7a 1/4: Fix typo in regexp |
Date: |
Sun, 6 Nov 2022 09:58:58 -0500 (EST) |
branch: elpa/helm
commit d6f4d6af7a927f6dc406d3de3e20f2de79bf39e5
Author: Thierry Volpiatto <thievol@posteo.net>
Commit: Thierry Volpiatto <thievol@posteo.net>
Fix typo in regexp
---
helm-occur.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/helm-occur.el b/helm-occur.el
index 2587e901e4..b7ffc6115b 100644
--- a/helm-occur.el
+++ b/helm-occur.el
@@ -296,7 +296,7 @@ car of the shorthand association.
When no `read-symbol-shorthands' local value is found use PATTERN unmodified."
(if helm-occur-match-shorthands
(let ((shorthands (buffer-local-value 'read-symbol-shorthands buffer))
- (prefix (and (string-match "\\`\\(.*-\\)-?.**" pattern)
+ (prefix (and (string-match "\\`\\(.*-\\)-?.*" pattern)
(match-string 1 pattern))))
(if (and shorthands prefix)
(helm-aif (or (assoc prefix shorthands)