branch: elpa/helm
commit 07dacfe2e2db980a9e42afef2fc8539c155fdd0d
Author: Thierry Volpiatto <[email protected]>
Commit: Thierry Volpiatto <[email protected]>
Prefer string-match-p over string-suffix-p
---
helm-lib.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/helm-lib.el b/helm-lib.el
index 2a93271f57..70df22089c 100644
--- a/helm-lib.el
+++ b/helm-lib.el
@@ -1732,7 +1732,7 @@ Directories expansion is not supported."
(with-temp-buffer
(call-process-shell-command
(format cmd
- (if (string-suffix-p ".gz" file)
+ (if (string-match-p ".gz\\'" file)
"gzip -c -q -d" "cat")
(shell-quote-argument file)
regexp)