aboutsummaryrefslogtreecommitdiff
path: root/wttrin.el
diff options
context:
space:
mode:
Diffstat (limited to 'wttrin.el')
-rw-r--r--wttrin.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/wttrin.el b/wttrin.el
index 0af5e50..d95f0c2 100644
--- a/wttrin.el
+++ b/wttrin.el
@@ -350,7 +350,7 @@ Returns the path to the saved file."
(defun wttrin--validate-weather-data (raw-string)
"Check if RAW-STRING has valid weather data.
Return t if valid, nil if missing or contains errors."
- (not (or (null raw-string) (string-match "ERROR" raw-string))))
+ (not (or (null raw-string) (string-match-p "ERROR" raw-string))))
(defun wttrin--process-weather-content (raw-string)
"Process RAW-STRING: apply ANSI filtering and remove verbose lines.