Mercurial > emacs
diff lisp/emacs-lisp/autoload.el @ 105504:a4b36898ee9a
(batch-update-autoloads): Fix last change to not error out of search
for "^lisp=" fails.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Wed, 07 Oct 2009 09:58:11 +0000 |
parents | e3e540de3898 |
children | 4adf54462047 |
line wrap: on
line diff
--- a/lisp/emacs-lisp/autoload.el Wed Oct 07 09:31:32 2009 +0000 +++ b/lisp/emacs-lisp/autoload.el Wed Oct 07 09:58:11 2009 +0000 @@ -691,7 +691,7 @@ (when (file-readable-p mfile) (with-temp-buffer (insert-file-contents mfile) - (when (re-search-forward "^lisp= ") + (when (re-search-forward "^lisp= " nil t) (setq lim (line-end-position)) (while (re-search-forward "\\${lispsource}\\([^ ]*\\)\\.elc?" lim t) (push (concat (expand-file-name (match-string 1) ldir) ".el")