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
commit7eb47123cbf8690ffc3d18580a0cf4695ad4a851 (patch)
tree8a08cc3065c37d120e0231d3212e2aa99f3158f1 /lisp/subr.el
parentf41c4842c0e0065bbe278cf6f749801cd71e97e3 (diff)
downloademacs-7eb47123cbf8690ffc3d18580a0cf4695ad4a851.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)))