From: Richard M. Stallman Date: Wed, 25 Sep 1996 22:35:17 +0000 (+0000) Subject: (split-string): Fix minor bug. X-Git-Tag: emacs-20.1~3611 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=7eb47123cbf8690ffc3d18580a0cf4695ad4a851;p=emacs.git (split-string): Fix minor bug. --- 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)))