summaryrefslogtreecommitdiff
path: root/lisp/subr.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/subr.el')
-rw-r--r--lisp/subr.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/subr.el b/lisp/subr.el
index 30b5ca6703d..a3357c71863 100644
--- a/lisp/subr.el
+++ b/lisp/subr.el
@@ -789,7 +789,7 @@ If SEPARATORS is absent, it defaults to \"[ \\f\\t\\n\\r\\v]+\"."
(start 0)
(list nil))
(while (string-match rexp string start)
- (or (eq start 0)
+ (or (eq (match-beginning 0) 0)
(setq list
(cons (substring string start (match-beginning 0))
list)))