branch: elpa/git-commit
commit bba16d4f3e1929ed4dcb3363649834c2401e6bf1
Author: Jonas Bernoulli <jo...@bernoul.li>
Commit: Jonas Bernoulli <jo...@bernoul.li>

    Use string-search instead of string-match
---
 lisp/magit-blame.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/magit-blame.el b/lisp/magit-blame.el
index 279098e09d..24f2080542 100644
--- a/lisp/magit-blame.el
+++ b/lisp/magit-blame.el
@@ -718,7 +718,7 @@ modes is toggled, then this mode also gets toggled 
automatically.
 (defun magit-blame--format-time-string (time tz)
   (let* ((time-format (or (magit-blame--style-get 'time-format)
                           magit-blame-time-format))
-         (tz-in-second (and (string-match "%z" time-format)
+         (tz-in-second (and (string-search "%z" time-format)
                             (car (last (parse-time-string tz))))))
     (format-time-string time-format
                         (seconds-to-time (string-to-number time))

Reply via email to