summaryrefslogtreecommitdiff
path: root/lisp/subr.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1996-09-25 22:35:17 +0000
committerRichard M. Stallman <rms@gnu.org>1996-09-25 22:35:17 +0000
commit73d004ccffee60b39082d16823f29b35d8dd0c26 (patch)
treef58de76bc687b5eae06a37bd8bb410c718bc58d1 /lisp/subr.el
parent8a8d7ab6ae867e5067457d3ce16ba2de5b1c21f9 (diff)
downloademacs-73d004ccffee60b39082d16823f29b35d8dd0c26.tar.gz
(split-string): Fix minor bug.
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)))