From 11be40a6f4fa5b1fc128349c3061e62d33020fba Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Wed, 7 Oct 2009 09:58:54 +0000 Subject: (batch-update-autoloads): Fix last change to not error out of search for "^lisp=" fails. --- lisp/emacs-lisp/autoload.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lisp/emacs-lisp/autoload.el') diff --git a/lisp/emacs-lisp/autoload.el b/lisp/emacs-lisp/autoload.el index 593cdb68284..7a0a43631de 100644 --- a/lisp/emacs-lisp/autoload.el +++ b/lisp/emacs-lisp/autoload.el @@ -691,7 +691,7 @@ Calls `update-directory-autoloads' on the command line arguments." (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") -- cgit v1.2.1